mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
spc700: fix N flag in OP_LSRM (nw)
this macro is playing with fire: #define FLAG_NZ m_flag_n = m_flag_z /* Negative Flag and inverted Zero flag */
This commit is contained in:
parent
8c18f02cee
commit
ac0d547d6f
@ -897,7 +897,7 @@ void spc700_device::SET_FLAG_I(uint32_t value)
|
||||
CLK(BCLK); \
|
||||
DST = EA_##MODE(); \
|
||||
FLAG_NZ = read_8_##MODE(DST); \
|
||||
FLAG_C = FLAG_NZ << 8; \
|
||||
FLAG_C = FLAG_N << 8; \
|
||||
FLAG_NZ >>= 1; \
|
||||
write_8_##MODE(DST, FLAG_NZ)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user