[Scummvm-cvs-logs] SF.net SVN: scummvm:[47555] scummvm/trunk/engines/sci/graphics/picture.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Mon Jan 25 18:09:46 CET 2010
Revision: 47555
http://scummvm.svn.sourceforge.net/scummvm/?rev=47555&view=rev
Author: m_kiewitz
Date: 2010-01-25 17:09:31 +0000 (Mon, 25 Jan 2010)
Log Message:
-----------
SCI: fixing skipping over dummy VGA palettes in amiga games
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/picture.cpp
Modified: scummvm/trunk/engines/sci/graphics/picture.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/picture.cpp 2010-01-25 12:34:40 UTC (rev 47554)
+++ scummvm/trunk/engines/sci/graphics/picture.cpp 2010-01-25 17:09:31 UTC (rev 47555)
@@ -558,7 +558,7 @@
if (_resMan->isAmiga32color()) {
if ((data[curPos] == 0x00) && (data[curPos + 1] == 0x01) && ((data[curPos + 32] & 0xF0) != 0xF0)) {
// Left-Over VGA palette, we simply ignore it
- curPos += 256 + 4 + 768;
+ curPos += 256 + 4 + 1024;
} else {
// Setting half of the amiga palette
_palette->modifyAmigaPalette(&data[curPos]);
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