Qt: Fix controls not saving on non-SDL builds

This commit is contained in:
Vicki Pfau 2017-07-02 17:00:44 -07:00
parent da50382cd4
commit 4cd249e632
2 changed files with 2 additions and 1 deletions

View File

@ -155,6 +155,7 @@ Bugfixes:
- Qt: Fix window icon being stretched - Qt: Fix window icon being stretched
- Qt: Fix initial window size (fixes mgba.io/i/766) - Qt: Fix initial window size (fixes mgba.io/i/766)
- Qt: Fix data directory path - Qt: Fix data directory path
- Qt: Fix controls not saving on non-SDL builds
Misc: Misc:
- Qt: Add language selector - Qt: Add language selector
- GBA Timer: Improve accuracy of timers - GBA Timer: Improve accuracy of timers

View File

@ -123,8 +123,8 @@ void InputController::saveConfiguration() {
if (m_playerAttached) { if (m_playerAttached) {
mSDLPlayerSaveConfig(&m_sdlPlayer, m_config->input()); mSDLPlayerSaveConfig(&m_sdlPlayer, m_config->input());
} }
m_config->write();
#endif #endif
m_config->write();
} }
void InputController::saveConfiguration(uint32_t type) { void InputController::saveConfiguration(uint32_t type) {