all repos — mgba @ d20b2e1e2302460dea1b17996a85cbd8f253fcbb

mGBA Game Boy Advance Emulator

Qt: Fix gamepad event dispatching (fixes #1922)
Vicki Pfau vi@endrift.com
Thu, 19 Nov 2020 23:22:52 -0800
commit

d20b2e1e2302460dea1b17996a85cbd8f253fcbb

parent

9ae85bdccc95c13350877f4c073938166acf9c17

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -61,6 +61,7 @@ - Qt: Load/save bytes from memory viewer in the order visible (fixes mgba.io/i/1900)

- Qt: Fix running proxied video if it gets pushed to the main thread - Qt: Fix game display sometimes disappearing after closing load/save state screen - Qt: Fix cancelling pausing before the frame ends + - Qt: Fix gamepad event dispatching (fixes mgba.io/i/1922) - SM83: Simplify register pair access on big endian - SM83: Disassemble STOP as one byte - Wii: Fix crash on unloading irregularly sized GBA ROMs
M src/platform/qt/InputController.cppsrc/platform/qt/InputController.cpp

@@ -649,7 +649,7 @@ }

} else { focusWidget = QApplication::focusWidget(); } - QApplication::sendEvent(focusWidget, event); + QApplication::postEvent(focusWidget, event, Qt::HighEventPriority); } void InputController::postPendingEvent(GBAKey key) {