Update TIA surface settings after making changes in the mini settings.

This commit is contained in:
Christian Speckner 2020-03-06 00:22:50 +01:00
parent 15a1c8c8b1
commit 456c05a0ee
1 changed files with 6 additions and 2 deletions

View File

@ -23,6 +23,7 @@
#include "NTSCFilter.hxx"
#include "PopUpWidget.hxx"
#include "MessageBox.hxx"
#include "TIASurface.hxx"
#include "StellaSettingsDialog.hxx"
@ -293,8 +294,11 @@ void StellaSettingsDialog::saveConfig()
instance().console().setProperties(myGameProperties);
}
// Finally, issue a complete framebuffer re-initialization
// Finally, issue a complete framebuffer re-initialization...
instance().createFrameBuffer();
// ... and apply potential setting changes to the TIA surface
instance().frameBuffer().tiaSurface().updateSurfaceSettings();
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -