diff options
author | Aaron Giles <aaron@aarongiles.com> | 2021-06-07 09:33:41 -0700 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2021-06-07 09:33:41 -0700 |
commit | 04ab059f27c2a3e722e77f41a4f47e91ecbd04bd (patch) | |
tree | c07ac0fc0f9c705373d89a11b707c979e7902c83 | |
parent | 013f2c64f45b2d3287f4ef9f9f23d4ac490c8085 (diff) |
Don't set the Z80 BUSRQ line on S2650-based games.
-rw-r--r-- | src/mame/drivers/dkong.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/dkong.cpp b/src/mame/drivers/dkong.cpp index e7e67ba0bf5..b158f4af60e 100644 --- a/src/mame/drivers/dkong.cpp +++ b/src/mame/drivers/dkong.cpp @@ -1670,7 +1670,8 @@ WRITE_LINE_MEMBER(dkong_state::vblank_irq) WRITE_LINE_MEMBER(dkong_state::busreq_w ) { // since our Z80 has no support for BUSACK, we assume it is granted immediately - m_maincpu->set_input_line(Z80_INPUT_LINE_BUSRQ, state); + if (m_maincpu->type() == Z80) + m_maincpu->set_input_line(Z80_INPUT_LINE_BUSRQ, state); m_maincpu->set_input_line(INPUT_LINE_HALT, state); // do we need this? if(m_z80dma) m_z80dma->bai_w(state); // tell dma that bus has been granted |