Core/IOS/IOS: Remove system parameters from BootstrapPPC() and BootIOS()

An EmulationKernel instance already houses a reference to the currently active system instance.
This commit is contained in:
Lioncache committed 2023-12-18 11:54:03 -05:00
1 parent 715a551dac
commit 0d75d658b1
5 files changed
+15 -16

No files matched your search

+1 -1
View File
@@ -572,7 +572,7 @@ bool CBoot::BootUp(Core::System& system, const Core::CPUThreadGuard& guard,
// Because there is no TMD to get the requested system (IOS) version from,
// we default to IOS58, which is the version used by the Homebrew Channel.
SetupWiiMemory(system, IOS::HLE::IOSC::ConsoleType::Retail);
IOS::HLE::GetIOS()->BootIOS(system, Titles::IOS(58));
IOS::HLE::GetIOS()->BootIOS(Titles::IOS(58));
}
else
{
+1 -1
View File
@@ -559,7 +559,7 @@ bool CBoot::EmulatedBS2_Wii(Core::System& system, const Core::CPUThreadGuard& gu
const u64 ios = ios_override >= 0 ? Titles::IOS(static_cast<u32>(ios_override)) : tmd.GetIOSId();
const auto console_type = volume.GetTicket(data_partition).GetConsoleType();
if (!SetupWiiMemory(system, console_type) || !IOS::HLE::GetIOS()->BootIOS(system, ios))
if (!SetupWiiMemory(system, console_type) || !IOS::HLE::GetIOS()->BootIOS(ios))
return false;
auto di =