diff options
| author | Joey <44435198+JoeysRetroHandhelds@users.noreply.github.com> | 2026-11-02 22:01:29 -0600 |
|---|---|---|
| committer | JoeysRetroHandhelds <44435198+JoeysRetroHandhelds@users.noreply.github.com> | 2026-11-02 22:31:38 -0600 |
| commit | 4dcc95c37d84037c38973e3136d31280a0339c55 (patch) | |
| tree | c59bb31dd43a8a3e44ce9358c19ef926987bf7f6 /Source/Android/app/src/androidTest/java | |
| parent | e8c42467964da77011f7da93a06f9e0a72ca868f (diff) | |
WiimoteDevice: Don't send output reports to a null HID source
ReceiveL2capData forwarded HID output reports to m_hid_source without
checking it. SetSource accepts nullptr (e.g. Wii Remote set to "Real"
with no real remote connected), and the game's L2CAP channel can still
be open when that happens, so the next output report crashed the CPU
thread with a null dereference.
Seen on Android with Skylanders: Spyro's Adventure and Wii Remote 1 set
to Real Wii Remote.
Diffstat (limited to 'Source/Android/app/src/androidTest/java')
0 files changed, 0 insertions, 0 deletions
