mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Core: Move Emulation IOS instance to System.
This commit is contained in:
@ -209,7 +209,7 @@ void WiimoteControllersWidget::ConnectWidgets()
|
||||
|
||||
void WiimoteControllersWidget::OnBluetoothPassthroughResetPressed()
|
||||
{
|
||||
const auto ios = IOS::HLE::GetIOS();
|
||||
const auto ios = Core::System::GetInstance().GetIOS();
|
||||
|
||||
if (!ios)
|
||||
{
|
||||
@ -226,7 +226,7 @@ void WiimoteControllersWidget::OnBluetoothPassthroughResetPressed()
|
||||
|
||||
void WiimoteControllersWidget::OnBluetoothPassthroughSyncPressed()
|
||||
{
|
||||
const auto ios = IOS::HLE::GetIOS();
|
||||
const auto ios = Core::System::GetInstance().GetIOS();
|
||||
|
||||
if (!ios)
|
||||
{
|
||||
|
@ -252,7 +252,7 @@ void NetworkWidget::Update()
|
||||
// needed because there's a race condition on the IOS instance otherwise
|
||||
Core::CPUThreadGuard guard(Core::System::GetInstance());
|
||||
|
||||
auto* ios = IOS::HLE::GetIOS();
|
||||
auto* ios = guard.GetSystem().GetIOS();
|
||||
if (!ios)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user