diff options
author | Gregory Montoir | 2003-11-01 20:46:35 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-11-01 20:46:35 +0000 |
commit | e6eb3e234d4188a6753bfa3bf0cf637e6c716316 (patch) | |
tree | d590519d0d91ae957e360b730b1c656c69cbe18c /queen/display.cpp | |
parent | 885fd48a6663b014924e858720b349d432ad1709 (diff) | |
download | scummvm-rg350-e6eb3e234d4188a6753bfa3bf0cf637e6c716316.tar.gz scummvm-rg350-e6eb3e234d4188a6753bfa3bf0cf637e6c716316.tar.bz2 scummvm-rg350-e6eb3e234d4188a6753bfa3bf0cf637e6c716316.zip |
don't do dynalum if palette scroll is disabled
svn-id: r11032
Diffstat (limited to 'queen/display.cpp')
-rw-r--r-- | queen/display.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/queen/display.cpp b/queen/display.cpp index 1b926c27c5..871fa84b0e 100644 --- a/queen/display.cpp +++ b/queen/display.cpp @@ -187,7 +187,7 @@ void Display::dynalumUpdate(int16 x, int16 y) { } uint8 colMask = _dynalum.msk[offset]; - debug(9, "Graphics::dynalumUpdate(%d, %d) - colMask = %d", x, y, colMask); + debug(9, "Display::dynalumUpdate(%d, %d) - colMask = %d", x, y, colMask); if (colMask != _dynalum.prevColMask) { uint8 i; @@ -238,6 +238,7 @@ void Display::palSet(const uint8 *pal, int start, int end, bool updateScreen) { void Display::palSetJoe(JoePalette pal) { + debug(9, "Display::palSetJoe(%d)", pal); const uint8 *palJoe = NULL; switch (pal) { case JP_CLOTHES: @@ -589,7 +590,6 @@ void Display::palCustomScroll(uint16 roomNum) { } _pals.dirtyMin = MIN(_pals.dirtyMin, loPal); _pals.dirtyMax = MAX(_pals.dirtyMax, hiPal); - // XXX dynalum(); } @@ -663,7 +663,7 @@ void Display::prepareUpdate() { void Display::update(bool dynalum, int16 dynaX, int16 dynaY) { - if (dynalum) { + if (_pals.scrollable && dynalum) { dynalumUpdate(dynaX, dynaY); } if (_pals.dirtyMin != 144 || _pals.dirtyMax != 144) { |