From 696cbe1a649bae06be73a5ce90bef3ea96a64470 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 13 Apr 2006 12:23:30 +0000 Subject: Fix display of saved games list in oracle of FF, when saving svn-id: r21841 --- engines/simon/oracle.cpp | 6 +++--- 1 file 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++; -- cgit v1.2.3