diff options
| author | JosJuice <josjuice@gmail.com> | 2026-02-28 16:04:16 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2026-02-28 16:10:58 +0100 |
| commit | faa861f1ab705ca637837488321f9f682b4f7f35 (patch) | |
| tree | cb0c3e207486c822e60df22d362ae14e6ef08e0d /Source/Core/VideoCommon/GraphicsModSystem/Runtime | |
| parent | f898d75bf3fc83cfc6d2af77653ab108457ca0e1 (diff) | |
Android: Fix Wii Remote connection crashes
Users are reporting a crash at the point where WiimoteAndroid::IORead
tries to use m_java_wiimote_payload. This commit solves the problem by
making m_java_wiimote_payload a global reference.
The code for setting up m_java_wiimote_payload has also been moved to
the constructor just because that way it's impossible for it to run
twice. (If the code as written were to run a second time, the old global
reference would be leaked. ConnectInternal should only run once, so this
is just to be on the safe side.)
Fixes https://bugs.dolphin-emu.org/issues/13960.
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime')
0 files changed, 0 insertions, 0 deletions
