diff options
Diffstat (limited to 'Source/Core/DolphinNoGUI/Platform.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/Platform.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DolphinNoGUI/Platform.cpp b/Source/Core/DolphinNoGUI/Platform.cpp index d057678788..fabb8bb924 100644 --- a/Source/Core/DolphinNoGUI/Platform.cpp +++ b/Source/Core/DolphinNoGUI/Platform.cpp @@ -6,7 +6,6 @@ #include "Core/HW/ProcessorInterface.h" #include "Core/IOS/IOS.h" #include "Core/IOS/STM/STM.h" -#include "Core/State.h" #include "Core/System.h" Platform::~Platform() = default; @@ -24,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 && |
