mirror of https://github.com/stella-emu/stella.git
Fix segfault during ystart autodetection.
This commit is contained in:
parent
18895e3683
commit
4a73aab1e4
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue