diff options
author | Martin Kiewitz | 2009-10-07 21:10:42 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-07 21:10:42 +0000 |
commit | 54e69d635914a62dba6c2af570c1224937e704b5 (patch) | |
tree | d3c3f635e24961499ea7b967997f4ce587b4cf18 | |
parent | 0b83993a6476dc63475f985feb20d3044d20d7f8 (diff) | |
download | scummvm-rg350-54e69d635914a62dba6c2af570c1224937e704b5.tar.gz scummvm-rg350-54e69d635914a62dba6c2af570c1224937e704b5.tar.bz2 scummvm-rg350-54e69d635914a62dba6c2af570c1224937e704b5.zip |
SCI: changed kDrawPic to use oldGfxFuncs()
svn-id: r44757
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 9a96d07579..5f4c8de759 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -919,12 +919,11 @@ reg_t kDrawPic(EngineState *s, int argc, reg_t *argv) { mirroredFlag = true; } if (argc >= 3) { - // FIXME: usesOldGfxFunctions() seems to be butchered, cause sq3 has it set, but uses bit 0 correctly - //if (!s->_kernel->usesOldGfxFunctions()) - // flags = !argv[2].toUint16(); - //else if (!argv[2].isNull()) addToFlag = true; + // FIXME: usesOldGfxFunctions() seems to be broken, cause sq3 has it set, but uses bit 0 correctly + if (s->_kernel->usesOldGfxFunctions()) + addToFlag = !addToFlag; } if (argc >= 4) EGApaletteNo = argv[3].toUint16(); |