[Scummvm-cvs-logs] SF.net SVN: scummvm: [21955] scummvm/trunk/engines/simon/simon.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Sun Apr 16 17:35:05 CEST 2006
Revision: 21955
Author: kirben
Date: 2006-04-16 17:34:21 -0700 (Sun, 16 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21955&view=rev
Log Message:
-----------
Fix vertical scrolling
Modified Paths:
--------------
scummvm/trunk/engines/simon/simon.cpp
Modified: scummvm/trunk/engines/simon/simon.cpp
===================================================================
--- scummvm/trunk/engines/simon/simon.cpp 2006-04-16 20:41:40 UTC (rev 21954)
+++ scummvm/trunk/engines/simon/simon.cpp 2006-04-17 00:34:21 UTC (rev 21955)
@@ -2643,15 +2643,15 @@
if (_scrollXMax == 0) {
if (_scrollFlag < 0) {
- memmove(dst + 8 * _screenWidth, dst, (_scrollHeight - 8) * _screenWidth);
+ memmove(dst + 8 * _screenWidth, dst, (_scrollWidth - 8) * _screenHeight);
} else {
- memmove(dst, dst + 8 * _screenWidth, (_scrollHeight - 8) * _screenWidth);
+ memmove(dst, dst + 8 * _screenWidth, (_scrollWidth - 8) * _screenHeight);
}
y = _scrollY - 8;
if (_scrollFlag > 0) {
- dst += (_scrollHeight - 8) * _screenWidth;
+ dst += (_screenHeight - 8) * _screenWidth;
y += 488;
}
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