diff options
| author | Dentomologist <dentomologist@gmail.com> | 2026-04-25 11:16:10 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2026-04-25 11:16:10 -0700 |
| commit | ac78e52cf9d6f140362af961faf7ea33a08e0e5f (patch) | |
| tree | 965f1f50b4cb3e64cbfea870a563255918fee290 /Source/Android/app/src/main/java | |
| parent | 0363de56fc13edb43cd50467a52b1c10207db702 (diff) | |
GCAdapter: Fix data races
Make `s_is_adapter_wanted` and the elements of `s_config_rumble_enabled`
atomic.
The CPU thread reads `s_is_adapter_wanted` and `s_config_rumble_enabled`
in `Output`, while the host thread writes to them in `RefreshConfig`.
The simplest way to trigger this race is to close the `Settings` window
while playing a game with the adapter active.
Diffstat (limited to 'Source/Android/app/src/main/java')
0 files changed, 0 insertions, 0 deletions
