summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/Platform.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-06-07 17:47:11 -0500
committerGitHub <noreply@github.com>2025-06-07 17:47:11 -0500
commit46e66fe945fdfa432e105568b7f3b3f8ced74fab (patch)
tree49f6fc7b99a5a0dcbd685dad30900f763129c363 /Source/Core/DolphinNoGUI/Platform.cpp
parent056ece6f291735ea7709ee762261ad7e13024503 (diff)
parentbae0e5f67ae00684d5e3e4e0102d0a593c412d71 (diff)
Merge pull request #13544 from tygyh/DolphinNoGUI-Replace-deprecated-signal-header
DolphinNoGUI: Apply style-alignment refactorings
Diffstat (limited to 'Source/Core/DolphinNoGUI/Platform.cpp')
-rw-r--r--Source/Core/DolphinNoGUI/Platform.cpp3
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 &&