[Scummvm-cvs-logs] SF.net SVN: scummvm:[53523] scummvm/trunk/engines/scumm/charset.cpp
athrxx at users.sourceforge.net
athrxx at users.sourceforge.net
Sat Oct 16 01:28:09 CEST 2010
Revision: 53523
http://scummvm.svn.sourceforge.net/scummvm/?rev=53523&view=rev
Author: athrxx
Date: 2010-10-15 23:28:09 +0000 (Fri, 15 Oct 2010)
Log Message:
-----------
SCUMM/FM-TOWNS: fix regression in non Japanese SCUMM 3 games
Modified Paths:
--------------
scummvm/trunk/engines/scumm/charset.cpp
Modified: scummvm/trunk/engines/scumm/charset.cpp
===================================================================
--- scummvm/trunk/engines/scumm/charset.cpp 2010-10-15 22:19:27 UTC (rev 53522)
+++ scummvm/trunk/engines/scumm/charset.cpp 2010-10-15 23:28:09 UTC (rev 53523)
@@ -826,7 +826,7 @@
drawBits1(*vs, dst, charPtr, drawTop, origWidth, origHeight, vs->bytesPerPixel);
} else {
dst = (byte *)_vm->_textSurface.getBasePtr(_left * _vm->_textSurfaceMultiplier, _top * _vm->_textSurfaceMultiplier);
- drawBits1(_vm->_textSurface, dst, charPtr, drawTop, origWidth, origHeight, _vm->_textSurface.bytesPerPixel, !is2byte);
+ drawBits1(_vm->_textSurface, dst, charPtr, drawTop, origWidth, origHeight, _vm->_textSurface.bytesPerPixel, (_vm->_textSurfaceMultiplier == 2 && !is2byte));
if (is2byte)
origWidth /= _vm->_textSurfaceMultiplier;
}
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