diff options
author | Sven Hesse | 2008-11-18 20:16:50 +0000 |
---|---|---|
committer | Sven Hesse | 2008-11-18 20:16:50 +0000 |
commit | 1ec33154fdb760bfd2a51e64e2c110055d79044e (patch) | |
tree | 19ff5df2dfa31b23bc08bf88e38c881cb1d96aa4 /engines/gob | |
parent | 089c8b4e48e8dd29ce7d839f6e87f12937478081 (diff) | |
download | scummvm-rg350-1ec33154fdb760bfd2a51e64e2c110055d79044e.tar.gz scummvm-rg350-1ec33154fdb760bfd2a51e64e2c110055d79044e.tar.bz2 scummvm-rg350-1ec33154fdb760bfd2a51e64e2c110055d79044e.zip |
Ooops :)
svn-id: r35119
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/util.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/gob/util.cpp b/engines/gob/util.cpp index f04818d4a7..543e363c31 100644 --- a/engines/gob/util.cpp +++ b/engines/gob/util.cpp @@ -285,13 +285,12 @@ void Util::forceMouseUp(bool onlyWhenSynced) { void Util::clearPalette(void) { int16 i; - byte colors[768]; + byte colors[1024]; _vm->validateVideoMode(_vm->_global->_videoMode); if (_vm->_global->_setAllPalette) { - for (i = 0; i < 768; i++) - colors[i] = 0; + memset(colors, 0, 1024); g_system->setPalette(colors, 0, 256); return; } |