[Scummvm-cvs-logs] SF.net SVN: scummvm: [22042] scummvm/trunk/engines/simon/charset.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Wed Apr 19 16:02:00 CEST 2006


Revision: 22042
Author:   kirben
Date:     2006-04-19 16:01:31 -0700 (Wed, 19 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22042&view=rev

Log Message:
-----------
The next offset is only adjusted in renderString, when sprite id isn't 1

Modified Paths:
--------------
    scummvm/trunk/engines/simon/charset.cpp
Modified: scummvm/trunk/engines/simon/charset.cpp
===================================================================
--- scummvm/trunk/engines/simon/charset.cpp	2006-04-19 22:53:37 UTC (rev 22041)
+++ scummvm/trunk/engines/simon/charset.cpp	2006-04-19 23:01:31 UTC (rev 22042)
@@ -211,7 +211,8 @@
 		// after this one. By default, each buffer is only 9000 bytes
 		// long. A two-line string can very well be more than twice
 		// that size!
-		WRITE_LE_UINT16(p + 8, READ_LE_UINT32(p) + width * height);
+		if (vga_sprite_id != 1)
+			WRITE_LE_UINT16(p + 8, READ_LE_UINT32(p) + width * height);
 	} else {
 		WRITE_BE_UINT16(p + 4, height);
 		WRITE_BE_UINT16(p + 6, width);


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