mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Only on the Sega are line interrupts disabled by a read of S#0.
This commit is contained in:
parent
2e45422b03
commit
a28b5bdeea
@ -1106,7 +1106,9 @@ uint8_t Base<personality>::read_register() {
|
||||
// Gets the status register.
|
||||
const uint8_t result = status_;
|
||||
status_ &= ~(StatusInterrupt | StatusSpriteOverflow | StatusSpriteCollision);
|
||||
line_interrupt_pending_ = false;
|
||||
if constexpr (is_sega_vdp(personality)) {
|
||||
line_interrupt_pending_ = false;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user