Display a different error message when failing to ES_Launch the Wii Menu
Trying to return to the Wii Menu from a game is the easiest way to trigger this error. Just saying 0000000100000002 when that happens doesn't mean much to most users.
This commit is contained in:
parent
47fe78a76a
commit
998a215a0d
|
@ -177,9 +177,18 @@ bool ES::LaunchPPCTitle(u64 title_id, bool skip_reload)
|
|||
const DiscIO::CNANDContentLoader& content_loader = AccessContentDevice(title_id);
|
||||
if (!content_loader.IsValid())
|
||||
{
|
||||
PanicAlertT("Could not launch title %016" PRIx64 " because it is missing from the NAND.\n"
|
||||
"The emulated software will likely hang now.",
|
||||
title_id);
|
||||
if (title_id == 0x0000000100000002)
|
||||
{
|
||||
PanicAlertT("Could not launch the Wii Menu because it is missing from the NAND.\n"
|
||||
"The emulated software will likely hang now.",
|
||||
title_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
PanicAlertT("Could not launch title %016" PRIx64 " because it is missing from the NAND.\n"
|
||||
"The emulated software will likely hang now.",
|
||||
title_id);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue