mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
ti99: Fix crash when cartridge in EVPC configuration is inserted.
This commit is contained in:
parent
d9f76c3f8a
commit
a8a92cab6c
@ -840,7 +840,9 @@ void ti99_4x_state::console_reset(int state)
|
|||||||
{
|
{
|
||||||
LOGMASKED(LOG_RESETLOAD, "Console reset line = %d\n", state);
|
LOGMASKED(LOG_RESETLOAD, "Console reset line = %d\n", state);
|
||||||
m_cpu->set_input_line(INT_9900_RESET, state);
|
m_cpu->set_input_line(INT_9900_RESET, state);
|
||||||
m_video->reset_line(state);
|
// Don't reset the (not existing) console video chip in the EVPC configuration
|
||||||
|
if (m_model != MODEL_4EV)
|
||||||
|
m_video->reset_line(state);
|
||||||
m_ioport->reset_in(state);
|
m_ioport->reset_in(state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user