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:
@@ -1372,6 +1372,7 @@
|
||||
#define helper_bitrev helper_bitrev_m68k
|
||||
#define helper_ff1 helper_ff1_m68k
|
||||
#define helper_sats helper_sats_m68k
|
||||
#define cpu_m68k_get_sr cpu_m68k_get_sr_m68k
|
||||
#define cpu_m68k_set_sr cpu_m68k_set_sr_m68k
|
||||
#define helper_set_sr helper_set_sr_m68k
|
||||
#define helper_mac_move helper_mac_move_m68k
|
||||
|
||||
Reference in New Issue
Block a user