aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/gui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/gui.h b/engines/kyra/gui.h
index 1efbdde394..c04892636b 100644
--- a/engines/kyra/gui.h
+++ b/engines/kyra/gui.h
@@ -200,6 +200,9 @@ protected:
void redrawText(const Menu &menu);
void redrawHighlight(const Menu &menu);
+ // The engine expects a list of contiguous savegame indices.
+ // Since ScummVM's savegame indices aren't, we re-index them.
+ // The integers stored in _saveSlots are ScummVM savegame indices.
Common::Array<int> _saveSlots;
void updateSaveList(bool excludeQuickSaves = false);
int getNextSavegameSlot();