mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 05:45:38 +00:00
When disabling sound IRQs via MIDI control port, clear current IRQ
Prevents Dirt Devils hanging during boot
This commit is contained in:
parent
976f0208dc
commit
7d32bde074
|
@ -1423,8 +1423,12 @@ void CModel3::Write8(UINT32 addr, UINT8 data)
|
||||||
SoundBoard.WriteMIDIPort(data);
|
SoundBoard.WriteMIDIPort(data);
|
||||||
IRQ.Deassert(0x40);
|
IRQ.Deassert(0x40);
|
||||||
}
|
}
|
||||||
else if ((addr&0xF) == 4) // MIDI control port
|
else if ((addr & 0xF) == 4) // MIDI control port
|
||||||
|
{
|
||||||
midiCtrlPort = data;
|
midiCtrlPort = data;
|
||||||
|
if ((data & 0x20) == 0)
|
||||||
|
IRQ.Deassert(0x40);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// Backup RAM
|
// Backup RAM
|
||||||
|
|
Loading…
Reference in a new issue