Fix segfault during ystart autodetection.

This commit is contained in:
Christian Speckner 2017-10-16 23:53:41 +02:00
parent 18895e3683
commit 4a73aab1e4
1 changed files with 1 additions and 1 deletions

View File

@ -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();