mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-05 09:05:54 +00:00
Core::SetState: Avoid Global System Accessor
This commit is contained in:
parent
c23562b7b5
commit
0b04975c26
7 changed files with 20 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue