mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix controllers sometimes not loading the right profile
This commit is contained in:
parent
d0e1a5d5d2
commit
46d31796df
1
CHANGES
1
CHANGES
|
@ -16,6 +16,7 @@ Bugfixes:
|
||||||
- Qt: Fix controller axis querying
|
- Qt: Fix controller axis querying
|
||||||
- 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
|
||||||
- Qt: Solar sensor can have shortcuts set
|
- Qt: Solar sensor can have shortcuts set
|
||||||
|
|
|
@ -90,6 +90,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