diff options
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)); } } |
