Merge pull request #5101 from JosJuice/es-launch-wii-menu
Display a different error message when failing to ES_Launch the Wii Menu
This commit is contained in:
commit
ce034a8186
|
@ -176,10 +176,19 @@ bool ES::LaunchPPCTitle(u64 title_id, bool skip_reload)
|
||||||
{
|
{
|
||||||
const DiscIO::CNANDContentLoader& content_loader = AccessContentDevice(title_id);
|
const DiscIO::CNANDContentLoader& content_loader = AccessContentDevice(title_id);
|
||||||
if (!content_loader.IsValid())
|
if (!content_loader.IsValid())
|
||||||
|
{
|
||||||
|
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"
|
PanicAlertT("Could not launch title %016" PRIx64 " because it is missing from the NAND.\n"
|
||||||
"The emulated software will likely hang now.",
|
"The emulated software will likely hang now.",
|
||||||
title_id);
|
title_id);
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue