diff options
Diffstat (limited to 'engines/simon')
-rw-r--r-- | engines/simon/oracle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/simon/oracle.cpp b/engines/simon/oracle.cpp index 4f80367908..48ae045a32 100644 --- a/engines/simon/oracle.cpp +++ b/engines/simon/oracle.cpp @@ -161,9 +161,9 @@ void SimonEngine::listSaveGames(int n) { int OK; memset(b, 0, 108); - maxFiles = countSaveGames(); - j = maxFiles - n; - k = maxFiles - j; + maxFiles = countSaveGames() - 1; + j = maxFiles - n + 1; + k = maxFiles - j + 1; z = maxFiles; if (getBitFlag(95)) { j++; |