mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
BootManager: Avoid Global System Accessor
This commit is contained in:
parent
5a81916ee9
commit
16c609dcd4
5 changed files with 12 additions and 6 deletions
|
@ -570,7 +570,7 @@ static void Run(JNIEnv* env, std::unique_ptr<BootParameters>&& boot, bool riivol
|
|||
s_need_nonblocking_alert_msg = true;
|
||||
std::unique_lock<std::mutex> surface_guard(s_surface_lock);
|
||||
|
||||
if (BootManager::BootCore(std::move(boot), wsi))
|
||||
if (BootManager::BootCore(Core::System::GetInstance(), std::move(boot), wsi))
|
||||
{
|
||||
static constexpr int WAIT_STEP = 25;
|
||||
while (Core::GetState() == Core::State::Starting)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue