diff options
author | hap <happppp@users.noreply.github.com> | 2020-07-03 22:59:10 +0200 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2020-07-03 22:59:24 +0200 |
commit | 3582726d0016271116589ff01429b42d416110a3 (patch) | |
tree | eec47f7f90a231daf8ec8895b02f026cf97c36b0 /src/devices | |
parent | ca5b662bd96d7eec74c1930dfea9eef6ac8dbf62 (diff) |
sothello: simplify maincpu-subcpu comms, game works again
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/cpu/m6809/base6x09.ops | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/m6809/base6x09.ops b/src/devices/cpu/m6809/base6x09.ops index 2bad6eec6f8..d41df55ecef 100644 --- a/src/devices/cpu/m6809/base6x09.ops +++ b/src/devices/cpu/m6809/base6x09.ops @@ -82,7 +82,7 @@ ROR8: ASR8: @m_temp.b.l = read_operand(); - m_cc &= ~CC_NZC; + m_cc &= ~CC_C; m_cc |= (m_temp.b.l & 1) ? CC_C : 0; m_temp.b.l = set_flags<uint8_t>(CC_NZ, ((int8_t) m_temp.b.l) >> 1); @eat(hd6309_native_mode() ? 0 : 1); @@ -168,7 +168,7 @@ ROR16: ASR16: @m_temp.b.h = read_operand(0); @m_temp.b.l = read_operand(1); - m_cc &= ~CC_NZC; + m_cc &= ~CC_C; m_cc |= (m_temp.w & 1) ? CC_C : 0; m_temp.w = set_flags<uint16_t>(CC_NZ, ((int16_t) m_temp.w) >> 1); @eat(hd6309_native_mode() ? 0 : 1); |