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 d0e1a5d5d2
commit 46d31796df
2 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,7 @@ Bugfixes:
- Qt: Fix controller axis querying
- 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
- Qt: Solar sensor can have shortcuts set

View File

@ -90,6 +90,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) {