mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Core: Avoid (Some) Global System Accessor
This commit is contained in:
parent
85dee300b5
commit
f09b71582e
16 changed files with 54 additions and 51 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue