aboutsummaryrefslogtreecommitdiff
path: root/engines/sky/disk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sky/disk.cpp')
-rw-r--r--engines/sky/disk.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sky/disk.cpp b/engines/sky/disk.cpp
index 0a543ecb3b..8e0779ef55 100644
--- a/engines/sky/disk.cpp
+++ b/engines/sky/disk.cpp
@@ -35,13 +35,13 @@ namespace Sky {
static const char *dataFilename = "sky.dsk";
static const char *dinnerFilename = "sky.dnr";
-Disk::Disk(const Common::String &gameDataPath) {
+Disk::Disk() {
_dataDiskHandle = new Common::File();
_dnrHandle = new Common::File();
_dnrHandle->open(dinnerFilename);
if (!_dnrHandle->isOpen())
- error("Could not open %s%s", gameDataPath.c_str(), dinnerFilename);
+ error("Could not open %s", dinnerFilename);
if (!(_dinnerTableEntries = _dnrHandle->readUint32LE()))
error("Error reading from sky.dnr"); //even though it was opened correctly?!
@@ -54,7 +54,7 @@ Disk::Disk(const Common::String &gameDataPath) {
_dataDiskHandle->open(dataFilename);
if (!_dataDiskHandle->isOpen())
- error("Error opening %s%s", gameDataPath.c_str(), dataFilename);
+ error("Error opening %s", dataFilename);
printf("Found BASS version v0.0%d (%d dnr entries)\n", determineGameVersion(), _dinnerTableEntries);