mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #12449 from lioncash/uicommon
UICommon: Remove global system accessor in TriggerSTMPowerEvent()
This commit is contained in:
commit
475c142e22
@ -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…
x
Reference in New Issue
Block a user