mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Core: Add System parameter to CPUThreadGuard.
This commit is contained in:
@ -997,7 +997,7 @@ void ProcessCommands(bool loop_until_continue)
|
||||
case 'm':
|
||||
{
|
||||
ASSERT(Core::IsCPUThread());
|
||||
Core::CPUThreadGuard guard;
|
||||
Core::CPUThreadGuard guard(system);
|
||||
|
||||
ReadMemory(guard);
|
||||
break;
|
||||
@ -1005,7 +1005,7 @@ void ProcessCommands(bool loop_until_continue)
|
||||
case 'M':
|
||||
{
|
||||
ASSERT(Core::IsCPUThread());
|
||||
Core::CPUThreadGuard guard;
|
||||
Core::CPUThreadGuard guard(system);
|
||||
|
||||
WriteMemory(guard);
|
||||
auto& ppc_state = system.GetPPCState();
|
||||
|
Reference in New Issue
Block a user