fix(m68k): correct SR register read (#2161)

The SR register in the `CPUM68KState` struct does not contain the value
of the lower 5 flags. To compute them, we must OR the CCR values with
the SR register to get the true SR value.
This commit is contained in:
Amaan Qureshi
2025-04-12 23:03:08 -04:00
committed by GitHub
parent f0bdeb5a74
commit aa86641e16
7 changed files with 54 additions and 2 deletions

View File

@@ -5749,6 +5749,7 @@ m68k_cpu_tlb_fill \
helper_bitrev \
helper_ff1 \
helper_sats \
cpu_m68k_get_sr \
cpu_m68k_set_sr \
helper_set_sr \
helper_mac_move \