[Scummvm-cvs-logs] SF.net SVN: scummvm:[34704] scummvm/trunk/engines/sky/sky.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Tue Sep 30 14:59:34 CEST 2008
Revision: 34704
http://scummvm.svn.sourceforge.net/scummvm/?rev=34704&view=rev
Author: fingolfin
Date: 2008-09-30 12:59:29 +0000 (Tue, 30 Sep 2008)
Log Message:
-----------
SKY: Fix detector to not (ab)use FSNode::getPath; if you want to open a FSNode, just pass it to File::open
Modified Paths:
--------------
scummvm/trunk/engines/sky/sky.cpp
Modified: scummvm/trunk/engines/sky/sky.cpp
===================================================================
--- scummvm/trunk/engines/sky/sky.cpp 2008-09-30 12:58:27 UTC (rev 34703)
+++ scummvm/trunk/engines/sky/sky.cpp 2008-09-30 12:59:29 UTC (rev 34704)
@@ -161,7 +161,7 @@
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 @@
if (0 == scumm_stricmp("sky.dnr", fileName)) {
Common::File dinner;
- if (dinner.open(file->getPath())) {
+ if (dinner.open(*file)) {
hasSkyDnr = true;
dinnerTableEntries = dinner.readUint32LE();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list