Merge pull request #12449 from lioncash/uicommon

UICommon: Remove global system accessor in TriggerSTMPowerEvent()
This commit is contained in:
OatmealDome
2023-12-18 20:10:23 -05:00
committed by GitHub

View File

@ -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;
}