mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Boot: Add support for booting NAND titles with just the ID
This commit is contained in:
@ -339,7 +339,8 @@ bool CBoot::BootUp(std::unique_ptr<BootParameters> boot)
|
||||
HID4.SBE = 1;
|
||||
// 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(0x000000010000003a);
|
||||
SetupWiiMemory();
|
||||
IOS::HLE::GetIOS()->BootIOS(0x000000010000003a);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -363,6 +364,12 @@ bool CBoot::BootUp(std::unique_ptr<BootParameters> boot)
|
||||
return Boot_WiiWAD(nand.content_path);
|
||||
}
|
||||
|
||||
bool operator()(const BootParameters::NANDTitle& nand_title) const
|
||||
{
|
||||
SetDefaultDisc();
|
||||
return BootNANDTitle(nand_title.id);
|
||||
}
|
||||
|
||||
bool operator()(const BootParameters::IPL& ipl) const
|
||||
{
|
||||
NOTICE_LOG(BOOT, "Booting GC IPL: %s", ipl.path.c_str());
|
||||
|
Reference in New Issue
Block a user