mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix initial state of key mapping
This commit is contained in:
parent
16ce3d2f2c
commit
59477207e3
1
CHANGES
1
CHANGES
|
@ -8,6 +8,7 @@ Bugfixes:
|
|||
- Wii: Fix tilting direction
|
||||
- SDL: Fix joystick initialization on BS
|
||||
- SDL: Fix potential joystick crash in games with rumble
|
||||
- Qt: Fix initial state of key mapping
|
||||
Misc:
|
||||
- GBA: Slightly optimize GBAProcessEvents
|
||||
- Qt: Add preset for DualShock 4
|
||||
|
|
|
@ -254,9 +254,7 @@ void GBAKeyEditor::lookupBinding(const GBAInputMap* map, KeyEditor* keyEditor, G
|
|||
#ifdef BUILD_SDL
|
||||
if (m_type == SDL_BINDING_BUTTON) {
|
||||
int value = GBAInputQueryBinding(map, m_type, key);
|
||||
if (value != GBA_KEY_NONE) {
|
||||
keyEditor->setValueButton(value);
|
||||
}
|
||||
keyEditor->setValueButton(value);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue