diff options
author | 2020-10-10 13:17:24 +0700 | |
---|---|---|
committer | 2020-10-10 13:17:24 +0700 | |
commit | 29fc166c54cd63414b9f9e8c6be48ef6580a1f9a (patch) | |
tree | b288942a382d5ec8260eeff42f81154991ffe73d | |
parent | ac8bba0759f8d65c60d24f3830f1d00856f31d66 (diff) |
news_hid: correct status bits
-rw-r--r-- | src/mame/machine/news_hid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/news_hid.cpp b/src/mame/machine/news_hid.cpp index f158fd54e15..0527299dde3 100644 --- a/src/mame/machine/news_hid.cpp +++ b/src/mame/machine/news_hid.cpp @@ -200,8 +200,8 @@ u8 news_hid_hle_device::status_68k_r() (!m_fifo[MOUSE].empty() ? 0x40 : 0) | (m_fifo[KEYBOARD].full() ? 0x20 : 0) | (m_fifo[MOUSE].full() ? 0x10 : 0) | - (m_irq_out_state[KEYBOARD] ? 0x08 : 0) | - (m_irq_out_state[MOUSE] ? 0x08 : 0) | + (m_irq_out_state[KEYBOARD] ? 0 : 0x08) | + (m_irq_out_state[MOUSE] ? 0 : 0x04) | (m_irq_enabled[KEYBOARD] ? 0x02 : 0) | (m_irq_enabled[MOUSE] ? 0x01 : 0); |