ymfm: Return masked status from set/reset function. Fixes MT08034.

This commit is contained in:
Aaron Giles 2021-07-23 18:26:36 -07:00
parent 0885a76a49
commit 6bb6d3db45

View file

@ -383,7 +383,7 @@ public:
{
m_status = (m_status | set) & ~(reset | STATUS_BUSY);
m_intf.ymfm_sync_check_interrupts();
return m_status;
return m_status & ~m_regs.status_mask();
}
// set the IRQ mask