WiiUtils: Improve the error message on import failure
Now shows the import return code and also skips showing the message altogether if the user cancelled the import for an unsigned WAD.
This commit is contained in:
parent
dd5c468c63
commit
62be010ac6
|
@ -76,8 +76,9 @@ static bool ImportWAD(IOS::HLE::Kernel& ios, const DiscIO::WiiWAD& wad)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (ret != IOS::HLE::IOSC_FAIL_CHECKVALUE)
|
||||
PanicAlertT("WAD installation failed: Could not initialise title import (error %d).", ret);
|
||||
SConfig::GetInstance().m_enable_signature_checks = checks_enabled;
|
||||
PanicAlertT("WAD installation failed: Could not initialise title import.");
|
||||
return false;
|
||||
}
|
||||
SConfig::GetInstance().m_enable_signature_checks = checks_enabled;
|
||||
|
|
Loading…
Reference in New Issue