mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-27 11:01:25 -04:00
s_controller_write_payload_size needs to remain an atomic because Read() loads and stores without holding a mutex, Output() stores while holding s_write_mutex, and ResetRumble() stores while holding s_read_mutex! I'm pretty sure this code is wrong, specifically ResetRumble().