mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-16 07:17:56 -05: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().