From 4cd249e632f7337adf061e3e1a25442506938a84 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 2 Jul 2017 17:00:44 -0700 Subject: [PATCH] Qt: Fix controls not saving on non-SDL builds --- CHANGES | 1 + src/platform/qt/InputController.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 0f0327f68..d15921656 100644 --- a/CHANGES +++ b/CHANGES @@ -155,6 +155,7 @@ Bugfixes: - Qt: Fix window icon being stretched - Qt: Fix initial window size (fixes mgba.io/i/766) - Qt: Fix data directory path + - Qt: Fix controls not saving on non-SDL builds Misc: - Qt: Add language selector - GBA Timer: Improve accuracy of timers diff --git a/src/platform/qt/InputController.cpp b/src/platform/qt/InputController.cpp index 8a643854f..4731d81eb 100644 --- a/src/platform/qt/InputController.cpp +++ b/src/platform/qt/InputController.cpp @@ -123,8 +123,8 @@ void InputController::saveConfiguration() { if (m_playerAttached) { mSDLPlayerSaveConfig(&m_sdlPlayer, m_config->input()); } - m_config->write(); #endif + m_config->write(); } void InputController::saveConfiguration(uint32_t type) {