VideoDialog: don't crash if Console is not allocated.

This commit is contained in:
Christian Speckner 2020-01-13 20:47:50 +01:00
parent 1dc31af9dd
commit 6c691c91b8
1 changed files with 1 additions and 1 deletions

View File

@ -478,7 +478,7 @@ void VideoDialog::saveConfig()
// TV scanline intensity
instance().settings().setValue("tv.scanlines", myTVScanIntense->getValueLabel());
instance().console().setTIAProperties();
if (&instance().console()) instance().console().setTIAProperties();
// Finally, issue a complete framebuffer re-initialization...
instance().createFrameBuffer();