diff options
author | Travis Howell | 2006-04-08 00:24:46 +0000 |
---|---|---|
committer | Travis Howell | 2006-04-08 00:24:46 +0000 |
commit | e951f908f2699a46387f69df8a7703bcd4055db2 (patch) | |
tree | 15f4cce2ea05a2c70640b4ea7555898e90c1bf3f /engines | |
parent | daa60166feac99ffc96962a9668a1ee272cdc4d0 (diff) | |
download | scummvm-rg350-e951f908f2699a46387f69df8a7703bcd4055db2.tar.gz scummvm-rg350-e951f908f2699a46387f69df8a7703bcd4055db2.tar.bz2 scummvm-rg350-e951f908f2699a46387f69df8a7703bcd4055db2.zip |
Fix load game display of oracle in FF
svn-id: r21677
Diffstat (limited to 'engines')
-rw-r--r-- | engines/simon/oracle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/simon/oracle.cpp b/engines/simon/oracle.cpp index 1c15cd60d2..825d12aafc 100644 --- a/engines/simon/oracle.cpp +++ b/engines/simon/oracle.cpp @@ -162,8 +162,8 @@ void SimonEngine::listSaveGames(int n) { memset(b, 0, 108); maxFiles = countSaveGames(); - j = maxFiles - n + 1; - k = maxFiles - j + 1; + j = maxFiles - n; + k = maxFiles - j; z = maxFiles; if (getBitFlag(95)) { j++; @@ -179,8 +179,7 @@ void SimonEngine::listSaveGames(int n) { } if (getBitFlag(93)) { - if (((_newLines + 1) >= _textWindow->scrollY) && ( - (_newLines + 1) < (_textWindow->scrollY + 3))) + if (((_newLines + 1) >= _textWindow->scrollY) && ((_newLines + 1) < (_textWindow->scrollY + 3))) OK = 1; } @@ -202,6 +201,7 @@ void SimonEngine::listSaveGames(int n) { j--; } + printf("Opened saved game %s\n", gen_savename(j)); if (!(in = _saveFileMan->openForLoading(gen_savename(j)))) break; in->read(b, 100); |