aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/saveload.h
diff options
context:
space:
mode:
authorDavid Fioramonti2018-07-14 04:52:58 -0700
committerEugene Sandulenko2018-08-03 14:53:43 +0200
commitde1a35a9d9ae1ba7b9ce23e1a6beb782480a8aad (patch)
treee98099ec20f1cdd2856872953d5011ef4bd4a8dd /engines/groovie/saveload.h
parent78e165ed22f97c8d1a20bf2bc7622fa32a3003de (diff)
downloadscummvm-rg350-de1a35a9d9ae1ba7b9ce23e1a6beb782480a8aad.tar.gz
scummvm-rg350-de1a35a9d9ae1ba7b9ce23e1a6beb782480a8aad.tar.bz2
scummvm-rg350-de1a35a9d9ae1ba7b9ce23e1a6beb782480a8aad.zip
GROOVIE: Allow saving via GMM and increase save slots to 25
If the user enters in an invalid description for the save then it will be simplified by the saved name cache process in Script::savegame. I checked this with t7g, but not with the 11th guest or any other Groovie game. The original in-game loading/saving can still only access the first 10 save slots (0-9). Its possible to saving via the GMM when the game is interactive. Loading a game saved via the gui using the original in-game load menu works fine. Saving via the GMM with timestamp works, but only only saves the characters up to the first non-alpha non-letter characer.
Diffstat (limited to 'engines/groovie/saveload.h')
-rw-r--r--engines/groovie/saveload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/groovie/saveload.h b/engines/groovie/saveload.h
index 6f20250e0a..a5321efd80 100644
--- a/engines/groovie/saveload.h
+++ b/engines/groovie/saveload.h
@@ -40,7 +40,7 @@ public:
static SaveStateList listValidSaves(const Common::String &target);
// Opening savefiles
- static Common::InSaveFile *openForLoading(const Common::String &target, int slot, SaveStateDescriptor *descriptor = NULL);
+ static Common::InSaveFile *openForLoading(const Common::String &target, int slot, SaveStateDescriptor *descriptor = nullptr);
static Common::OutSaveFile *openForSaving(const Common::String &target, int slot);
};