aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-05-23 20:05:38 +0000
committerTorbjörn Andersson2006-05-23 20:05:38 +0000
commitdafc2c8cebe9e4f95938584fac57864d57932e4a (patch)
treedb8da7ad172e865d3f90da7fb5794a58eb2de271
parent36957a2c50fdd3fc0195981cedf4cc65f24f8a95 (diff)
downloadscummvm-rg350-dafc2c8cebe9e4f95938584fac57864d57932e4a.tar.gz
scummvm-rg350-dafc2c8cebe9e4f95938584fac57864d57932e4a.tar.bz2
scummvm-rg350-dafc2c8cebe9e4f95938584fac57864d57932e4a.zip
Fix for saving the palette before playing a VQA movie. (Suggested by LordHoto.)
svn-id: r22586
-rw-r--r--engines/kyra/kyra3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/kyra3.cpp b/engines/kyra/kyra3.cpp
index e8058d3e0c..4ae8bcda1d 100644
--- a/engines/kyra/kyra3.cpp
+++ b/engines/kyra/kyra3.cpp
@@ -158,7 +158,7 @@ void KyraEngine_v3::playVQA(const char *name) {
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));