diff options
| author | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-03-18 01:35:42 -0700 |
|---|---|---|
| committer | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-03-18 01:35:42 -0700 |
| commit | f09b71582ee357ef47f8608a5b0fd848e404b453 (patch) | |
| tree | 5fe74fe97341ea2e66788038cef98867cfcc3f2d /Source/Core/DolphinNoGUI/PlatformHeadless.cpp | |
| parent | 85dee300b5bbd8c64dee5e9305a626435bef2062 (diff) | |
Core: Avoid (Some) Global System Accessor
Diffstat (limited to 'Source/Core/DolphinNoGUI/PlatformHeadless.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/PlatformHeadless.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/PlatformHeadless.cpp b/Source/Core/DolphinNoGUI/PlatformHeadless.cpp index 8e3c82bca1..2f6ea2e7ac 100644 --- a/Source/Core/DolphinNoGUI/PlatformHeadless.cpp +++ b/Source/Core/DolphinNoGUI/PlatformHeadless.cpp @@ -3,7 +3,9 @@ #include <cstdio> #include <thread> + #include "Core/Core.h" +#include "Core/System.h" #include "DolphinNoGUI/Platform.h" namespace @@ -27,7 +29,7 @@ void PlatformHeadless::MainLoop() while (m_running.IsSet()) { UpdateRunningFlag(); - Core::HostDispatchJobs(); + Core::HostDispatchJobs(Core::System::GetInstance()); std::this_thread::sleep_for(std::chrono::milliseconds(100)); } } |
