Core: Avoid (Some) Global System Accessor
This commit is contained in:
1 parent
85dee300b5
commit
f09b71582e
16 files changed
+54
-51
No files matched your search
@@ -9,6 +9,7 @@
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Core/State.h"
|
||||
#include "Core/System.h"
|
||||
|
||||
#include <climits>
|
||||
#include <cstdio>
|
||||
@@ -78,7 +79,7 @@ void PlatformFBDev::MainLoop()
|
||||
while (IsRunning())
|
||||
{
|
||||
UpdateRunningFlag();
|
||||
Core::HostDispatchJobs();
|
||||
Core::HostDispatchJobs(Core::System::GetInstance());
|
||||
|
||||
// TODO: Is this sleep appropriate?
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
|
||||
Reference in new issue
Block a user