mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Core::GetState: Avoid Global System Accessor
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user