all repos — mgba @ 3eb4c01515cc42f6f4cb35f0c8432b644fccf806

mGBA Game Boy Advance Emulator

Qt: Fix controllers sometimes not loading the right profile
Jeffrey Pfau jeffrey@endrift.com
Tue, 21 Apr 2015 20:35:35 -0700
commit

3eb4c01515cc42f6f4cb35f0c8432b644fccf806

parent

0fbba68b02817a3afa9257d15893b2f8d0a42d94

2 files changed, 6 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -31,6 +31,7 @@ - Qt: Fix controller axis querying

- GBA Memory: Improve Thumb open bus behavior - GBA Memory: Fix 32-bit loads from unaddress cartridge space - Qt: Fix multiplayer windows opening as the wrong size + - Qt: Fix controllers sometimes not loading the right profile Misc: - Qt: Show multiplayer numbers in window title
M src/platform/qt/InputController.cppsrc/platform/qt/InputController.cpp

@@ -94,6 +94,11 @@ }

void InputController::loadConfiguration(uint32_t type) { GBAInputMapLoad(&m_inputMap, type, m_config->input()); +#ifdef BUILD_SDL + if (m_playerAttached) { + GBASDLPlayerLoadConfig(&m_sdlPlayer, m_config->input()); + } +#endif } void InputController::loadProfile(uint32_t type, const QString& profile) {