diff --git a/Source/Core/UICommon/UICommon.cpp b/Source/Core/UICommon/UICommon.cpp index 4c9a7c95ae..9fccc19965 100644 --- a/Source/Core/UICommon/UICommon.cpp +++ b/Source/Core/UICommon/UICommon.cpp @@ -492,8 +492,7 @@ bool TriggerSTMPowerEvent() return false; Core::DisplayMessage("Shutting down", 30000); - auto& system = Core::System::GetInstance(); - system.GetProcessorInterface().PowerButton_Tap(); + ios->GetSystem().GetProcessorInterface().PowerButton_Tap(); return true; }