summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/Platform.cpp
diff options
context:
space:
mode:
authorDr. Dystopia <jonis9898@hotmail.com>2025-04-20 18:02:28 +0200
committerDr. Dystopia <jonis9898@hotmail.com>2025-06-04 21:48:40 +0200
commitc37933932da31f2cde9844135b7c1adf2e9462eb (patch)
tree96ffb3a6c7a46da551fa745839387e98dd2494d3 /Source/Core/DolphinNoGUI/Platform.cpp
parent23af1e025b948f74fa9a170ba714dfb09f34a0a2 (diff)
DolphinNoGUI: Make variables constant
Diffstat (limited to 'Source/Core/DolphinNoGUI/Platform.cpp')
-rw-r--r--Source/Core/DolphinNoGUI/Platform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/Platform.cpp b/Source/Core/DolphinNoGUI/Platform.cpp
index b542f50e8c..fabb8bb924 100644
--- a/Source/Core/DolphinNoGUI/Platform.cpp
+++ b/Source/Core/DolphinNoGUI/Platform.cpp
@@ -23,7 +23,7 @@ void Platform::UpdateRunningFlag()
{
if (m_shutdown_requested.TestAndClear())
{
- auto& system = Core::System::GetInstance();
+ const auto& system = Core::System::GetInstance();
const auto ios = system.GetIOS();
const auto stm = ios ? ios->GetDeviceByName("/dev/stm/eventhook") : nullptr;
if (!m_tried_graceful_shutdown.IsSet() && stm &&