From a8a92cab6c3ff09d0fd035ea9748f9496b67fe7d Mon Sep 17 00:00:00 2001 From: Michael Zapf Date: Sun, 16 Jun 2024 23:21:37 +0200 Subject: ti99: Fix crash when cartridge in EVPC configuration is inserted. --- src/mame/ti/ti99_4x.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mame/ti/ti99_4x.cpp b/src/mame/ti/ti99_4x.cpp index aa39e4981ce..7da6cf1337f 100644 --- a/src/mame/ti/ti99_4x.cpp +++ b/src/mame/ti/ti99_4x.cpp @@ -840,7 +840,9 @@ void ti99_4x_state::console_reset(int state) { LOGMASKED(LOG_RESETLOAD, "Console reset line = %d\n", 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); } } -- cgit v1.2.3