Qt: Fix controllers sometimes not loading the right profile

This commit is contained in:
Jeffrey Pfau 2015-04-21 20:35:35 -07:00
parent 0fbba68b02
commit 3eb4c01515
2 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,7 @@ Bugfixes:
- 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

View File

@ -94,6 +94,11 @@ void InputController::setConfiguration(ConfigController* config) {
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) {