mirror of https://github.com/stella-emu/stella.git
Made console type change immediate
This commit is contained in:
parent
1f64eecf4e
commit
fdea8aa82e
|
@ -20,6 +20,8 @@
|
||||||
|
|
||||||
* Removed superfluous controller option 'PADDLES_IDIR'
|
* Removed superfluous controller option 'PADDLES_IDIR'
|
||||||
|
|
||||||
|
* Fixed not working 7800 pause key
|
||||||
|
|
||||||
* Fixed 'Dancing Plate (Unknown) (PAL)' to use joystick
|
* Fixed 'Dancing Plate (Unknown) (PAL)' to use joystick
|
||||||
|
|
||||||
-Have fun!
|
-Have fun!
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
#include "Console.hxx"
|
#include "Console.hxx"
|
||||||
#include "TIA.hxx"
|
#include "TIA.hxx"
|
||||||
#include "OSystem.hxx"
|
#include "OSystem.hxx"
|
||||||
|
#include "EventHandler.hxx"
|
||||||
#include "StateManager.hxx"
|
#include "StateManager.hxx"
|
||||||
#include "RewindManager.hxx"
|
#include "RewindManager.hxx"
|
||||||
#include "M6502.hxx"
|
#include "M6502.hxx"
|
||||||
|
@ -527,6 +528,9 @@ void DeveloperDialog::saveSettings(SettingsSet set)
|
||||||
|
|
||||||
instance().settings().setValue(prefix + "stats", myFrameStats[set]);
|
instance().settings().setValue(prefix + "stats", myFrameStats[set]);
|
||||||
instance().settings().setValue(prefix + "console", myConsole[set] == 1 ? "7800" : "2600");
|
instance().settings().setValue(prefix + "console", myConsole[set] == 1 ? "7800" : "2600");
|
||||||
|
if(instance().hasConsole())
|
||||||
|
instance().eventHandler().set7800Mode();
|
||||||
|
|
||||||
// Randomization
|
// Randomization
|
||||||
instance().settings().setValue(prefix + "bankrandom", myRandomBank[set]);
|
instance().settings().setValue(prefix + "bankrandom", myRandomBank[set]);
|
||||||
instance().settings().setValue(prefix + "ramrandom", myRandomizeRAM[set]);
|
instance().settings().setValue(prefix + "ramrandom", myRandomizeRAM[set]);
|
||||||
|
|
Loading…
Reference in New Issue