diff options
author | Max Horn | 2008-09-30 12:59:29 +0000 |
---|---|---|
committer | Max Horn | 2008-09-30 12:59:29 +0000 |
commit | 7443b599c4fed18b110ab4db46ac286f105014fa (patch) | |
tree | a9bedb16085eb334a9f2de080c33ff081322be64 /engines | |
parent | 6aa12974bd0aaff41e5a39ea032a849e4e0f615b (diff) | |
download | scummvm-rg350-7443b599c4fed18b110ab4db46ac286f105014fa.tar.gz scummvm-rg350-7443b599c4fed18b110ab4db46ac286f105014fa.tar.bz2 scummvm-rg350-7443b599c4fed18b110ab4db46ac286f105014fa.zip |
SKY: Fix detector to not (ab)use FSNode::getPath; if you want to open a FSNode, just pass it to File::open
svn-id: r34704
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sky/sky.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp index 5ccdab2ca4..ac6773c80c 100644 --- a/engines/sky/sky.cpp +++ b/engines/sky/sky.cpp @@ -161,7 +161,7 @@ GameList SkyMetaEngine::detectGames(const Common::FSList &fslist) const { if (0 == scumm_stricmp("sky.dsk", fileName)) { Common::File dataDisk; - if (dataDisk.open(file->getPath())) { + if (dataDisk.open(*file)) { hasSkyDsk = true; dataDiskSize = dataDisk.size(); } @@ -169,7 +169,7 @@ GameList SkyMetaEngine::detectGames(const Common::FSList &fslist) const { if (0 == scumm_stricmp("sky.dnr", fileName)) { Common::File dinner; - if (dinner.open(file->getPath())) { + if (dinner.open(*file)) { hasSkyDnr = true; dinnerTableEntries = dinner.readUint32LE(); } |