mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
State: Avoid Global System Accessor
This commit is contained in:
@ -396,7 +396,7 @@ static void CpuThread(Core::System& system, const std::optional<std::string>& sa
|
||||
|
||||
if (savestate_path)
|
||||
{
|
||||
::State::LoadAs(*savestate_path);
|
||||
::State::LoadAs(system, *savestate_path);
|
||||
if (delete_savestate)
|
||||
File::Delete(*savestate_path);
|
||||
}
|
||||
|
Reference in New Issue
Block a user