From fdea8aa82e8f74a640e76cb454d4d256584b3e22 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Tue, 1 Jan 2019 14:35:14 +0100 Subject: [PATCH] Made console type change immediate --- Changes.txt | 2 ++ src/gui/DeveloperDialog.cxx | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Changes.txt b/Changes.txt index 77ae8ec7b..9719f908e 100644 --- a/Changes.txt +++ b/Changes.txt @@ -20,6 +20,8 @@ * Removed superfluous controller option 'PADDLES_IDIR' + * Fixed not working 7800 pause key + * Fixed 'Dancing Plate (Unknown) (PAL)' to use joystick -Have fun! diff --git a/src/gui/DeveloperDialog.cxx b/src/gui/DeveloperDialog.cxx index 1e1d07c6d..e1ea4cb06 100644 --- a/src/gui/DeveloperDialog.cxx +++ b/src/gui/DeveloperDialog.cxx @@ -33,6 +33,7 @@ #include "Console.hxx" #include "TIA.hxx" #include "OSystem.hxx" +#include "EventHandler.hxx" #include "StateManager.hxx" #include "RewindManager.hxx" #include "M6502.hxx" @@ -527,6 +528,9 @@ void DeveloperDialog::saveSettings(SettingsSet set) instance().settings().setValue(prefix + "stats", myFrameStats[set]); instance().settings().setValue(prefix + "console", myConsole[set] == 1 ? "7800" : "2600"); + if(instance().hasConsole()) + instance().eventHandler().set7800Mode(); + // Randomization instance().settings().setValue(prefix + "bankrandom", myRandomBank[set]); instance().settings().setValue(prefix + "ramrandom", myRandomizeRAM[set]);