diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2019-12-04 17:40:46 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2019-12-04 17:40:46 -0500 |
commit | f852af6cb8de67eb8abab8f3d5c517b576fbc2f9 (patch) | |
tree | a6c3ed9faf10b70ba6c4fca4b5c806d502187db1 /src/devices/cpu | |
parent | 12684d33ee608628987d1504f71ff03fd6204c94 (diff) |
r65c19: Fix BAR masking logic (nw)
Diffstat (limited to 'src/devices/cpu')
-rw-r--r-- | src/devices/cpu/m6502/or65c19.lst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m6502/or65c19.lst b/src/devices/cpu/m6502/or65c19.lst index e88400cb117..e8314033b9d 100644 --- a/src/devices/cpu/m6502/or65c19.lst +++ b/src/devices/cpu/m6502/or65c19.lst @@ -66,7 +66,7 @@ bar_amr TMP2 = read(TMP); TMP = read_pc_noinc(); read_pc(); - TMP2 &= ~TMP; + TMP2 = ~TMP2 & TMP; TMP = read_pc(); if(TMP2 != 0) { read_pc_noinc(); |