diff options
Diffstat (limited to 'src/mess/machine/c64_cpm.c')
-rw-r--r-- | src/mess/machine/c64_cpm.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mess/machine/c64_cpm.c b/src/mess/machine/c64_cpm.c index 9f0a1f0a93d..b014b83b842 100644 --- a/src/mess/machine/c64_cpm.c +++ b/src/mess/machine/c64_cpm.c @@ -25,7 +25,7 @@ // MACROS/CONSTANTS //************************************************************************** -#define Z80_TAG "z80" +#define Z80_TAG "z80" @@ -89,20 +89,20 @@ inline void c64_cpm_cartridge_device::update_signals() { if (m_enabled) { - m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); - machine().firstcpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); - - if (m_reset) - { - m_maincpu->reset(); - m_maincpu->set_state_int(Z80_PC, 0); - m_reset = 0; - } + m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); + machine().firstcpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); + + if (m_reset) + { + m_maincpu->reset(); + m_maincpu->set_state_int(Z80_PC, 0); + m_reset = 0; + } } else { - m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); - machine().firstcpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); + m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); + machine().firstcpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); } /* |