mirror of https://github.com/stella-emu/stella.git
Update TIA surface settings after making changes in the mini settings.
This commit is contained in:
parent
15a1c8c8b1
commit
456c05a0ee
|
@ -23,6 +23,7 @@
|
||||||
#include "NTSCFilter.hxx"
|
#include "NTSCFilter.hxx"
|
||||||
#include "PopUpWidget.hxx"
|
#include "PopUpWidget.hxx"
|
||||||
#include "MessageBox.hxx"
|
#include "MessageBox.hxx"
|
||||||
|
#include "TIASurface.hxx"
|
||||||
|
|
||||||
#include "StellaSettingsDialog.hxx"
|
#include "StellaSettingsDialog.hxx"
|
||||||
|
|
||||||
|
@ -293,8 +294,11 @@ void StellaSettingsDialog::saveConfig()
|
||||||
instance().console().setProperties(myGameProperties);
|
instance().console().setProperties(myGameProperties);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Finally, issue a complete framebuffer re-initialization
|
// Finally, issue a complete framebuffer re-initialization...
|
||||||
instance().createFrameBuffer();
|
instance().createFrameBuffer();
|
||||||
|
|
||||||
|
// ... and apply potential setting changes to the TIA surface
|
||||||
|
instance().frameBuffer().tiaSurface().updateSurfaceSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
Loading…
Reference in New Issue