aboutsummaryrefslogtreecommitdiff
path: root/engines/sky/sky.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sky/sky.cpp')
-rw-r--r--engines/sky/sky.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp
index 0900ba5617..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();
}
@@ -365,7 +365,7 @@ int SkyEngine::go() {
introSkipped = !_skyIntro->doIntro(_floppyIntro);
}
- if (!quit()) {
+ if (!shouldQuit()) {
_skyLogic->initScreen0();
if (introSkipped)
_skyControl->restartGame();
@@ -375,7 +375,7 @@ int SkyEngine::go() {
_lastSaveTime = _system->getMillis();
uint32 delayCount = _system->getMillis();
- while (!quit()) {
+ while (!shouldQuit()) {
if (_debugger->isAttached())
_debugger->onFrame();