DolphinNoGUI: Make variables constant

This commit is contained in:
Dr. Dystopia
2025-04-20 18:02:28 +02:00
parent 23af1e025b
commit c37933932d
2 changed files with 3 additions and 2 deletions

View File

@ -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 &&