mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Core: Add System parameter to CPUThreadGuard.
This commit is contained in:
@ -322,7 +322,7 @@ bool ApplyFramePatches()
|
||||
auto& ppc_state = system.GetPPCState();
|
||||
|
||||
ASSERT(Core::IsCPUThread());
|
||||
Core::CPUThreadGuard guard;
|
||||
Core::CPUThreadGuard guard(system);
|
||||
|
||||
// Because we're using the VI Interrupt to time this instead of patching the game with a
|
||||
// callback hook we can end up catching the game in an exception vector.
|
||||
|
Reference in New Issue
Block a user