Browse Source
[hid_core] fix LM2 crash due to callbacks not being removed properly (#4178)
[hid_core] fix LM2 crash due to callbacks not being removed properly (#4178)
the function returned the key AFTER this one, which points to an invalid object basically its like "oh im returning the index AFTER Myself" off-by-1 error basically; now it returns OUR own key. Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4178 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>lizzie/maxwell-use-params-instead-of-template
committed by
crueter
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
7 changed files with 51 additions and 53 deletions
-
2src/core/core.cpp
-
16src/hid_core/frontend/emulated_console.cpp
-
22src/hid_core/frontend/emulated_controller.cpp
-
16src/hid_core/frontend/emulated_devices.cpp
-
3src/hid_core/hid_core.cpp
-
32src/hid_core/resources/npad/npad.cpp
-
13src/input_common/input_engine.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue