forked from Mirror/GodMode9
Installer: show an error message for missing .dbs
This commit is contained in:
parent
f7c229b424
commit
df9b84fc66
@ -2331,8 +2331,10 @@ u32 InstallGameFile(const char* path, bool to_emunand) {
|
|||||||
char path_db[32];
|
char path_db[32];
|
||||||
if (((GetInstallDbsPath(path_db, drv, "title.db" ) != 0) || !fvx_qsize(path_db)) ||
|
if (((GetInstallDbsPath(path_db, drv, "title.db" ) != 0) || !fvx_qsize(path_db)) ||
|
||||||
((GetInstallDbsPath(path_db, drv, "import.db") != 0) || !fvx_qsize(path_db)) ||
|
((GetInstallDbsPath(path_db, drv, "import.db") != 0) || !fvx_qsize(path_db)) ||
|
||||||
((GetInstallDbsPath(path_db, drv, "ticket.db") != 0) || !fvx_qsize(path_db)))
|
((GetInstallDbsPath(path_db, drv, "ticket.db") != 0) || !fvx_qsize(path_db))) {
|
||||||
return 1; // this needs an error prompt (!!!)
|
ShowPrompt(false, "Install error:\nThis system is missing one or\nmore .db files.\n \nMaybe the SD card is missing\nor uninitialized?");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
// check permissions for SysNAND (this includes everything we need)
|
// check permissions for SysNAND (this includes everything we need)
|
||||||
if (!CheckWritePermissions(to_emunand ? "4:" : "1:")) return 1;
|
if (!CheckWritePermissions(to_emunand ? "4:" : "1:")) return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user