aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2006-04-13 12:23:30 +0000
committerTravis Howell2006-04-13 12:23:30 +0000
commit696cbe1a649bae06be73a5ce90bef3ea96a64470 (patch)
tree9462565ebb9209929048f00e28993297e1632137
parenteaddfc5ed8904d29daed5209b5015a886f4ffbf6 (diff)
downloadscummvm-rg350-696cbe1a649bae06be73a5ce90bef3ea96a64470.tar.gz
scummvm-rg350-696cbe1a649bae06be73a5ce90bef3ea96a64470.tar.bz2
scummvm-rg350-696cbe1a649bae06be73a5ce90bef3ea96a64470.zip
Fix display of saved games list in oracle of FF, when saving
svn-id: r21841
-rw-r--r--engines/simon/oracle.cpp6
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++;