aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-07-13 20:50:57 +0000
committerNicola Mettifogo2007-07-13 20:50:57 +0000
commit5a851033744189a53886a8db0992b54d5fd1ef3c (patch)
tree6988464850f49a141906779fafa1ee6c6998214c /engines/parallaction/graphics.cpp
parent355ac5db2f380d972925baf1ac2013514a30028b (diff)
downloadscummvm-rg350-5a851033744189a53886a8db0992b54d5fd1ef3c.tar.gz
scummvm-rg350-5a851033744189a53886a8db0992b54d5fd1ef3c.tar.bz2
scummvm-rg350-5a851033744189a53886a8db0992b54d5fd1ef3c.zip
Full screen updates aren't automatic after palette changes anymore now. Traded some code pollution with SPEED!
svn-id: r28061
Diffstat (limited to 'engines/parallaction/graphics.cpp')
-rw-r--r--engines/parallaction/graphics.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp
index 67f2463038..7474316460 100644
--- a/engines/parallaction/graphics.cpp
+++ b/engines/parallaction/graphics.cpp
@@ -30,9 +30,6 @@
#include "parallaction/parallaction.h"
-
-extern OSystem *g_system;
-
namespace Parallaction {
byte * Gfx::_buffers[];
@@ -142,7 +139,7 @@ void Gfx::setPalette(Palette pal, uint32 first, uint32 num) {
if (_vm->getPlatform() == Common::kPlatformAmiga)
g_system->setPalette(sysExtraPal, first+FIRST_EHB_COLOR, num);
- g_system->updateScreen();
+// g_system->updateScreen();
return;
}