mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
UICommon: Remove global system accessor in TriggerSTMPowerEvent()
This can be passed through via the IOS instance.
This commit is contained in:
parent
251c7a1030
commit
00f494307f
1 changed files with 1 additions and 2 deletions
|
@ -492,8 +492,7 @@ bool TriggerSTMPowerEvent()
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
Core::DisplayMessage("Shutting down", 30000);
|
Core::DisplayMessage("Shutting down", 30000);
|
||||||
auto& system = Core::System::GetInstance();
|
ios->GetSystem().GetProcessorInterface().PowerButton_Tap();
|
||||||
system.GetProcessorInterface().PowerButton_Tap();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue