mirror of https://github.com/stella-emu/stella.git
VideoDialog: don't crash if Console is not allocated.
This commit is contained in:
parent
1dc31af9dd
commit
6c691c91b8
|
@ -478,7 +478,7 @@ void VideoDialog::saveConfig()
|
||||||
// TV scanline intensity
|
// TV scanline intensity
|
||||||
instance().settings().setValue("tv.scanlines", myTVScanIntense->getValueLabel());
|
instance().settings().setValue("tv.scanlines", myTVScanIntense->getValueLabel());
|
||||||
|
|
||||||
instance().console().setTIAProperties();
|
if (&instance().console()) instance().console().setTIAProperties();
|
||||||
|
|
||||||
// Finally, issue a complete framebuffer re-initialization...
|
// Finally, issue a complete framebuffer re-initialization...
|
||||||
instance().createFrameBuffer();
|
instance().createFrameBuffer();
|
||||||
|
|
Loading…
Reference in New Issue