summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorOatmealDome <OatmealDome@users.noreply.github.com>2023-12-18 20:10:23 -0500
committerGitHub <noreply@github.com>2023-12-18 20:10:23 -0500
commit475c142e22365fa391f30a494081fa14e49dfb15 (patch)
tree166221e3adc8c51accd3f8e5eb84b8466852bb16 /Source
parent251c7a10305c00ff3893f352be6880237081fc21 (diff)
parent00f494307fa55c921ad1950cbba3d0ccbef6b762 (diff)
Merge pull request #12449 from lioncash/uicommon
UICommon: Remove global system accessor in TriggerSTMPowerEvent()
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/UICommon/UICommon.cpp3
1 files changed, 1 insertions, 2 deletions
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;
}