mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +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
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue