aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/resource.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-01-03 15:20:33 +0000
committerJohannes Schickel2008-01-03 15:20:33 +0000
commit9b4fc2f70b7c35d8df5a9e70fb5ea8a118e5628b (patch)
tree2e15ddaaddd944000078a9c79db5cac56b2c1e4e /engines/kyra/resource.cpp
parentfbcba1a573eff399a1a7b41ff87785c0b9f528d5 (diff)
downloadscummvm-rg350-9b4fc2f70b7c35d8df5a9e70fb5ea8a118e5628b.tar.gz
scummvm-rg350-9b4fc2f70b7c35d8df5a9e70fb5ea8a118e5628b.tar.bz2
scummvm-rg350-9b4fc2f70b7c35d8df5a9e70fb5ea8a118e5628b.zip
Resolve portabillity issues introduced with last commit.
svn-id: r30201
Diffstat (limited to 'engines/kyra/resource.cpp')
-rw-r--r--engines/kyra/resource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp
index c043e47289..45e3416616 100644
--- a/engines/kyra/resource.cpp
+++ b/engines/kyra/resource.cpp
@@ -69,8 +69,8 @@ bool Resource::reset() {
if (_vm->game() == GI_KYRA1) {
// we're loading KYRA.DAT here too (but just for Kyrandia 1)
- if (!loadPakFile(StaticResource::_staticDataFile) || !StaticResource::checkKyraDat()) {
- Common::String errorMessage = "You're missing the '" + StaticResource::_staticDataFile + "' file or it got corrupted, (re)get it from the ScummVM website";
+ if (!loadPakFile(StaticResource::staticDataFilename()) || !StaticResource::checkKyraDat()) {
+ Common::String errorMessage = "You're missing the '" + StaticResource::staticDataFilename() + "' file or it got corrupted, (re)get it from the ScummVM website";
GUI::MessageDialog errorMsg(errorMessage);
errorMsg.runModal();
error(errorMessage.c_str());
@@ -145,7 +145,7 @@ bool Resource::loadPakFile(const Common::String &filename) {
return true;
}
- const bool isKyraDat = filename.equalsIgnoreCase(StaticResource::_staticDataFile);
+ const bool isKyraDat = filename.equalsIgnoreCase(StaticResource::staticDataFilename());
uint32 size = 0;
Common::File handle;