mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-11-20 04:44:12 +01: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().