[Scummvm-cvs-logs] SF.net SVN: scummvm: [21677] scummvm/trunk/engines/simon/oracle.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Fri Apr 7 17:25:22 CEST 2006
Revision: 21677
Author: kirben
Date: 2006-04-07 17:24:46 -0700 (Fri, 07 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21677&view=rev
Log Message:
-----------
Fix load game display of oracle in FF
Modified Paths:
--------------
scummvm/trunk/engines/simon/oracle.cpp
Modified: scummvm/trunk/engines/simon/oracle.cpp
===================================================================
--- scummvm/trunk/engines/simon/oracle.cpp 2006-04-08 00:19:04 UTC (rev 21676)
+++ scummvm/trunk/engines/simon/oracle.cpp 2006-04-08 00:24:46 UTC (rev 21677)
@@ -162,8 +162,8 @@
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 @@
}
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 @@
j--;
}
+ printf("Opened saved game %s\n", gen_savename(j));
if (!(in = _saveFileMan->openForLoading(gen_savename(j))))
break;
in->read(b, 100);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list