mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-26 18:40:46 +00:00
Backport Fixed missing open bus bit on $4015 reads
This commit is contained in:
parent
96da3f0b71
commit
fc0b08f73c
@ -98,7 +98,7 @@ uint8_t APU::ReadRAM(uint16_t addr)
|
||||
//$4015 read
|
||||
Run();
|
||||
|
||||
uint8_t status = GetStatus();
|
||||
uint8_t status = GetStatus() | (_console->GetMemoryManager()->GetOpenBus() & 0x20);
|
||||
|
||||
//Reading $4015 clears the Frame Counter interrupt flag.
|
||||
_console->GetCpu()->ClearIrqSource(IRQSource::FrameCounter);
|
||||
|
Loading…
Reference in New Issue
Block a user