aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
diff options
context:
space:
mode:
authorPaul Gilbert2010-06-29 10:52:59 +0000
committerPaul Gilbert2010-06-29 10:52:59 +0000
commiteb4a48bfd99e97540d553ffd51eb5b24d9c05486 (patch)
tree5bce624441b92a500e6c8798dcc1af08adad4604 /engines/m4
parentb91ba9c56ea0bad8ae194149bfb2b370c8f01a95 (diff)
downloadscummvm-rg350-eb4a48bfd99e97540d553ffd51eb5b24d9c05486.tar.gz
scummvm-rg350-eb4a48bfd99e97540d553ffd51eb5b24d9c05486.tar.bz2
scummvm-rg350-eb4a48bfd99e97540d553ffd51eb5b24d9c05486.zip
Reserved palette ranges used by on-screen messages
svn-id: r50489
Diffstat (limited to 'engines/m4')
-rw-r--r--engines/m4/mads_anim.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/m4/mads_anim.cpp b/engines/m4/mads_anim.cpp
index d8976241e1..b7aa8eefb5 100644
--- a/engines/m4/mads_anim.cpp
+++ b/engines/m4/mads_anim.cpp
@@ -466,6 +466,10 @@ AnimviewView::AnimviewView(MadsM4Engine *vm):
// Set up system palette colors
_vm->_palette->setMadsSystemPalette();
+ // Block reserved palette ranges
+ _vm->_palette->blockRange(16, 2);
+ _vm->_palette->blockRange(250, 4);
+
clear();
_backgroundSurface.clear();