mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix controllers sometimes not loading the right profile
This commit is contained in:
parent
0fbba68b02
commit
3eb4c01515
1
CHANGES
1
CHANGES
|
@ -31,6 +31,7 @@ Bugfixes:
|
||||||
- GBA Memory: Improve Thumb open bus behavior
|
- GBA Memory: Improve Thumb open bus behavior
|
||||||
- GBA Memory: Fix 32-bit loads from unaddress cartridge space
|
- GBA Memory: Fix 32-bit loads from unaddress cartridge space
|
||||||
- Qt: Fix multiplayer windows opening as the wrong size
|
- Qt: Fix multiplayer windows opening as the wrong size
|
||||||
|
- Qt: Fix controllers sometimes not loading the right profile
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Show multiplayer numbers in window title
|
- Qt: Show multiplayer numbers in window title
|
||||||
|
|
||||||
|
|
|
@ -94,6 +94,11 @@ void InputController::setConfiguration(ConfigController* config) {
|
||||||
|
|
||||||
void InputController::loadConfiguration(uint32_t type) {
|
void InputController::loadConfiguration(uint32_t type) {
|
||||||
GBAInputMapLoad(&m_inputMap, type, m_config->input());
|
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) {
|
void InputController::loadProfile(uint32_t type, const QString& profile) {
|
||||||
|
|
Loading…
Reference in New Issue