summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/PlatformWin32.cpp
diff options
context:
space:
mode:
authormitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-03-18 01:35:42 -0700
committermitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-03-18 01:35:42 -0700
commitf09b71582ee357ef47f8608a5b0fd848e404b453 (patch)
tree5fe74fe97341ea2e66788038cef98867cfcc3f2d /Source/Core/DolphinNoGUI/PlatformWin32.cpp
parent85dee300b5bbd8c64dee5e9305a626435bef2062 (diff)
Core: Avoid (Some) Global System Accessor
Diffstat (limited to 'Source/Core/DolphinNoGUI/PlatformWin32.cpp')
-rw-r--r--Source/Core/DolphinNoGUI/PlatformWin32.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/PlatformWin32.cpp b/Source/Core/DolphinNoGUI/PlatformWin32.cpp
index 4b5e5aa1ef..b92849a3b6 100644
--- a/Source/Core/DolphinNoGUI/PlatformWin32.cpp
+++ b/Source/Core/DolphinNoGUI/PlatformWin32.cpp
@@ -8,6 +8,7 @@
#include "Core/ConfigManager.h"
#include "Core/Core.h"
#include "Core/State.h"
+#include "Core/System.h"
#include <Windows.h>
#include <climits>
@@ -123,7 +124,7 @@ void PlatformWin32::MainLoop()
while (IsRunning())
{
UpdateRunningFlag();
- Core::HostDispatchJobs();
+ Core::HostDispatchJobs(Core::System::GetInstance());
ProcessEvents();
UpdateWindowPosition();