mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-05 05:00:53 -04:00
The active codes vector cannot safely be used outside the mutex, move the lock out into RunCodeHandler. s_code_handler_installed was also racing against SetActiveCodes since it's being written both inside and outside the lock. General cleanup. Add s_ prefixes, use constexpr, remove C casts.