mirror of
https://github.com/holub/mame
synced 2025-07-06 18:39:28 +03:00
r65c02: Don't throw away the branch offset for BBR and BBS (nw)
This commit is contained in:
parent
873fafbbc2
commit
7cf270f02a
@ -161,7 +161,7 @@ bbr_zpb
|
||||
TMP = read_pc();
|
||||
TMP2 = read(TMP);
|
||||
read(TMP);
|
||||
read_pc_noinc();
|
||||
TMP = read_pc();
|
||||
if(!(TMP2 & (1 << ((inst_state >> 4) & 7)))) {
|
||||
PC += int8_t(TMP);
|
||||
}
|
||||
@ -171,7 +171,7 @@ bbs_zpb
|
||||
TMP = read_pc();
|
||||
TMP2 = read(TMP);
|
||||
read(TMP);
|
||||
read_pc_noinc();
|
||||
TMP = read_pc();
|
||||
if(TMP2 & (1 << ((inst_state >> 4) & 7))) {
|
||||
PC += int8_t(TMP);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user