[Scummvm-cvs-logs] SF.net SVN: scummvm: [22586] scummvm/trunk/engines/kyra/kyra3.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Tue May 23 13:06:07 CEST 2006
Revision: 22586
Author: eriktorbjorn
Date: 2006-05-23 13:05:38 -0700 (Tue, 23 May 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22586&view=rev
Log Message:
-----------
Fix for saving the palette before playing a VQA movie. (Suggested by LordHoto.)
Modified Paths:
--------------
scummvm/trunk/engines/kyra/kyra3.cpp
Modified: scummvm/trunk/engines/kyra/kyra3.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra3.cpp 2006-05-23 16:49:46 UTC (rev 22585)
+++ scummvm/trunk/engines/kyra/kyra3.cpp 2006-05-23 20:05:38 UTC (rev 22586)
@@ -158,7 +158,7 @@
if (vqa.open(filename)) {
uint8 pal[768];
- memcpy(pal, _screen->_currentPalette, sizeof(pal));
+ memcpy(pal, _screen->getPalette(0), sizeof(pal));
if (_screen->_curPage == 0)
_screen->copyCurPageBlock(0, 0, 320, 200, _screen->getPagePtr(3));
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