mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Core::GetState: Avoid Global System Accessor
This commit is contained in:
parent
db0cd82326
commit
eb92d6f0a8
42 changed files with 135 additions and 101 deletions
|
@ -10,6 +10,7 @@
|
|||
#include "Common/Thread.h"
|
||||
|
||||
#include "Core/Core.h"
|
||||
#include "Core/System.h"
|
||||
|
||||
namespace VideoCommon
|
||||
{
|
||||
|
@ -96,7 +97,7 @@ bool AsyncShaderCompiler::WaitUntilCompletion(
|
|||
// Update progress while the compiles complete.
|
||||
for (;;)
|
||||
{
|
||||
if (Core::GetState() == Core::State::Stopping)
|
||||
if (Core::GetState(Core::System::GetInstance()) == Core::State::Stopping)
|
||||
return false;
|
||||
|
||||
size_t remaining_items;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue