diff options
| author | Dr. Dystopia <jonis9898@hotmail.com> | 2025-04-20 18:02:28 +0200 |
|---|---|---|
| committer | Dr. Dystopia <jonis9898@hotmail.com> | 2025-06-04 21:48:40 +0200 |
| commit | c37933932da31f2cde9844135b7c1adf2e9462eb (patch) | |
| tree | 96ffb3a6c7a46da551fa745839387e98dd2494d3 /Source/Core/DolphinNoGUI/Platform.cpp | |
| parent | 23af1e025b948f74fa9a170ba714dfb09f34a0a2 (diff) | |
DolphinNoGUI: Make variables constant
Diffstat (limited to 'Source/Core/DolphinNoGUI/Platform.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/Platform.cpp | 2 |
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 && |
