aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/archetype/archetype.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-11-16 18:47:16 -0800
committerPaul Gilbert2019-11-16 18:47:16 -0800
commit023a587b5b2c8aad5c8770b3619e15bc35f0271f (patch)
tree81525b1efdfbf76fa08ebb6ac994adae5a8ad86b /engines/glk/archetype/archetype.h
parent7161995bb4225eb0461aa7d6636f3371b65c040d (diff)
downloadscummvm-rg350-023a587b5b2c8aad5c8770b3619e15bc35f0271f.tar.gz
scummvm-rg350-023a587b5b2c8aad5c8770b3619e15bc35f0271f.tar.bz2
scummvm-rg350-023a587b5b2c8aad5c8770b3619e15bc35f0271f.zip
GLK: ARCHETYPE: Allowing savegames from launcher
Diffstat (limited to 'engines/glk/archetype/archetype.h')
-rw-r--r--engines/glk/archetype/archetype.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/glk/archetype/archetype.h b/engines/glk/archetype/archetype.h
index beb67b6680..643f5e0007 100644
--- a/engines/glk/archetype/archetype.h
+++ b/engines/glk/archetype/archetype.h
@@ -159,10 +159,15 @@ public:
* Returns true if a savegame is being loaded directly from the ScummVM launcher
*/
bool loadingSavegame() const {
- return _saveSlot != -1;
+ return _saveSlot >= 0;
}
/**
+ * Handles loading the savegame specified in the ScummVM launcher
+ */
+ Common::Error loadLauncherSavegame();
+
+ /**
* Write some text to the screen
*/
void write(const String fmt, ...);