mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Core::SetState: Avoid Global System Accessor
This commit is contained in:
@ -44,9 +44,9 @@
|
||||
{
|
||||
auto& system = Core::System::GetInstance();
|
||||
if (Core::GetState(system) == Core::State::Running)
|
||||
Core::SetState(Core::State::Paused);
|
||||
Core::SetState(system, Core::State::Paused);
|
||||
else
|
||||
Core::SetState(Core::State::Running);
|
||||
Core::SetState(system, Core::State::Running);
|
||||
}
|
||||
|
||||
- (void)saveScreenShot
|
||||
|
Reference in New Issue
Block a user