mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
DolphinNoGUI: Make variables constant
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user