diff options
author | Vladimir Menshakov | 2011-06-12 01:57:07 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:34:15 +0200 |
commit | f7b56a0d94bcf710ca52292577457a999d2a9fa8 (patch) | |
tree | aa0dd10c8cd40878210fc783a72373d72a76e184 | |
parent | 53e49d1a508e6864a67582716b9752d2edafdd55 (diff) | |
download | scummvm-rg350-f7b56a0d94bcf710ca52292577457a999d2a9fa8.tar.gz scummvm-rg350-f7b56a0d94bcf710ca52292577457a999d2a9fa8.tar.bz2 scummvm-rg350-f7b56a0d94bcf710ca52292577457a999d2a9fa8.zip |
DREAMWEB: fixed OF register handling once again
-rw-r--r-- | engines/dreamweb/runtime.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/dreamweb/runtime.h b/engines/dreamweb/runtime.h index 80ab8db384..b08d564b8e 100644 --- a/engines/dreamweb/runtime.h +++ b/engines/dreamweb/runtime.h @@ -177,17 +177,17 @@ struct Flags { _z = v == 0; } - inline void update_o(uint8 v, uint8 old) { - _o = (old & 0x80) != (v & 0x80); - } - inline void update(uint16 v) { _s = v & 0x8000; _z = v == 0; } + inline void update_o(uint8 v, uint8 old) { + _o = (old & 0x80) != (v & 0x80); + } + inline void update_o(uint16 v, uint16 old) { - _o = (old & 0x8000) == (v & 0x8000); + _o = (old & 0x8000) != (v & 0x8000); } }; |