[Scummvm-cvs-logs] SF.net SVN: scummvm:[51702] scummvm/trunk/engines/sci/engine/kmisc.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Tue Aug 3 18:03:23 CEST 2010


Revision: 51702
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51702&view=rev
Author:   m_kiewitz
Date:     2010-08-03 16:03:22 +0000 (Tue, 03 Aug 2010)

Log Message:
-----------
SCI: kMemory issue in pq3 only for multilingual

adjusted comment accordingly

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kmisc.cpp

Modified: scummvm/trunk/engines/sci/engine/kmisc.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kmisc.cpp	2010-08-03 15:51:31 UTC (rev 51701)
+++ scummvm/trunk/engines/sci/engine/kmisc.cpp	2010-08-03 16:03:22 UTC (rev 51702)
@@ -229,10 +229,10 @@
 	switch (argv[0].toUint16()) {
 	case K_MEMORY_ALLOCATE_CRITICAL: {
 		int byteCount = argv[1].toUint16();
-		// WORKAROUND: pq3 when plotting crimes - allocates the returned bytes
-		//  from kStrLen on "W" and "E" and wants to put a string in there,
-		//  which doesn't fit of course. That's why we allocate one byte more
-		//  all the time inside that room - maybe only multilingual pq3
+		// WORKAROUND: pq3 (multilingual) when plotting crimes - allocates the
+		//  returned bytes from kStrLen on "W" and "E" and wants to put a
+		//  string in there, which doesn't fit of course. That's why we allocate
+		//  one byte more all the time inside that room
 		if (g_sci->getGameId() == GID_PQ3) {
 			if (s->currentRoomNumber() == 202)
 				byteCount++;


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