From 7459e3e62fa54def5e22e1f4f4a12409cadf826b Mon Sep 17 00:00:00 2001 From: ksherlock Date: Wed, 31 May 2023 22:42:17 -0400 Subject: atari/atarist.cpp: (ste) don't segfault immediately when starting (#11296) --- src/mame/atari/atarist.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mame/atari/atarist.cpp b/src/mame/atari/atarist.cpp index 877066e1d03..f1d1b0454f4 100644 --- a/src/mame/atari/atarist.cpp +++ b/src/mame/atari/atarist.cpp @@ -307,7 +307,10 @@ void st_state::write_monochrome(int state) void st_state::reset_w(int state) { - m_video->reset(); + if (m_video.found()) + m_video->reset(); + if (m_videox.found()) + m_videox->reset(); if (m_stb.found()) m_stb->reset(); m_mfp->reset(); -- cgit v1.2.3