From 4a73aab1e4f9804084d4a9900783316eed6a3368 Mon Sep 17 00:00:00 2001 From: Christian Speckner Date: Mon, 16 Oct 2017 23:53:41 +0200 Subject: [PATCH] Fix segfault during ystart autodetection. --- src/emucore/Console.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emucore/Console.cxx b/src/emucore/Console.cxx index c62666827..033f0b459 100644 --- a/src/emucore/Console.cxx +++ b/src/emucore/Console.cxx @@ -244,7 +244,7 @@ void Console::autodetectYStart() YStartDetector ystartDetector; ystartDetector.setLayout(myDisplayFormat == "PAL" ? FrameLayout::pal : FrameLayout::ntsc); myTIA->setFrameManager(&ystartDetector); - mySystem->reset(); + mySystem->reset(true); for (int i = 0; i < 80; i++) myTIA->update();