mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
ymfm: Return masked status from set/reset function. Fixes MT08034.
This commit is contained in:
parent
0885a76a49
commit
6bb6d3db45
1 changed files with 1 additions and 1 deletions
2
3rdparty/ymfm/src/ymfm_fm.h
vendored
2
3rdparty/ymfm/src/ymfm_fm.h
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue