From 2fb45660b3be6b2cbd02171096fd8866b69d0c4c Mon Sep 17 00:00:00 2001 From: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com> Date: Fri, 21 Oct 2022 20:38:02 +0200 Subject: [PATCH] IOS::HLE::Kernel::InitIPC: Replace s_ios check with Core::IsRunning --- Source/Core/Core/IOS/IOS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/IOS/IOS.cpp b/Source/Core/Core/IOS/IOS.cpp index 5e2afcb645..341f204d66 100644 --- a/Source/Core/Core/IOS/IOS.cpp +++ b/Source/Core/Core/IOS/IOS.cpp @@ -481,7 +481,7 @@ bool Kernel::BootIOS(const u64 ios_title_id, HangPPC hang_ppc, const std::string void Kernel::InitIPC() { - if (s_ios == nullptr) + if (!Core::IsRunning()) return; INFO_LOG_FMT(IOS, "IPC initialised.");