ASYLUM: fix crash after reaching limit of savegames
Bug no. 13144
This commit is contained in:
parent
28dc2e14bf
commit
7cccbafc9d
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@ public:
|
|||
return "Sanitarium (c) ASC Games";
|
||||
}
|
||||
|
||||
int getMaximumSaveSlot() const override { return 25; }
|
||||
int getAutosaveSlot() const override { return getMaximumSaveSlot() - 1; }
|
||||
int getMaximumSaveSlot() const override { return 24; }
|
||||
int getAutosaveSlot() const override { return getMaximumSaveSlot(); }
|
||||
SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const override;
|
||||
void getSavegameThumbnail(Graphics::Surface &thumb) override;
|
||||
Common::Error createInstance(OSystem *syst, Engine **engine, const ADGameDescription *gd) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue