diff options
author | Vladimir | 2011-06-09 01:18:19 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:33:15 +0200 |
commit | 797127cb65e2fd26ab5875b6bc64ad16f5439fc5 (patch) | |
tree | c4f45d78e7d36c1b56fa9fe241888bc2dc23e687 /engines/dreamweb/runtime.h | |
parent | a6fb92d230a08829c7e313665396d9c81fb545d8 (diff) | |
download | scummvm-rg350-797127cb65e2fd26ab5875b6bc64ad16f5439fc5.tar.gz scummvm-rg350-797127cb65e2fd26ab5875b6bc64ad16f5439fc5.tar.bz2 scummvm-rg350-797127cb65e2fd26ab5875b6bc64ad16f5439fc5.zip |
DREAMWEB: cleared overflow flag on logic instructions
Diffstat (limited to 'engines/dreamweb/runtime.h')
-rw-r--r-- | engines/dreamweb/runtime.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/dreamweb/runtime.h b/engines/dreamweb/runtime.h index e474c1bc6f..f904497bb4 100644 --- a/engines/dreamweb/runtime.h +++ b/engines/dreamweb/runtime.h @@ -268,38 +268,38 @@ public: inline void _and(uint8 &dst, uint8 src) { dst &= src; - flags._c = false; flags.update(dst); + flags._c = flags._o = false; } inline void _and(uint16 &dst, uint16 src) { dst &= src; - flags._c = false; flags.update(dst); + flags._c = flags._o = false; } inline void _or(uint8 &dst, uint8 src) { dst |= src; - flags._c = false; flags.update(dst); + flags._c = flags._o = false; } inline void _or(uint16 &dst, uint16 src) { dst |= src; - flags._c = false; flags.update(dst); + flags._c = flags._o = false; } inline void _xor(uint8 &dst, uint8 src) { dst ^= src; - flags._c = false; flags.update(dst); + flags._c = flags._o = false; } inline void _xor(uint16 &dst, uint16 src) { dst ^= src; - flags._c = false; flags.update(dst); + flags._c = flags._o = false; } inline void _shr(uint8 &dst, uint8 src) { @@ -372,8 +372,8 @@ public: inline void _neg(uint8 &src) { src = ~src; - flags._c = false; flags.update(src); + flags._c = flags._o = false; } inline void _neg(uint16 &src) { |