Add an error message specifically for PS1 eboots.
This commit is contained in:
parent
8e22554fb0
commit
27f0f9bc65
2 changed files with 9 additions and 0 deletions
|
@ -112,6 +112,10 @@ IdentifiedFileType Identify_File(std::string &filename)
|
|||
if (psar_id == 'MUPN') {
|
||||
return FILETYPE_PSP_ISO_NP;
|
||||
}
|
||||
// PS1 PSAR begins with "PSISOIMG0000"
|
||||
if (psar_id == 'SISP') {
|
||||
return FILETYPE_PSP_PS1_PBP;
|
||||
}
|
||||
|
||||
// Let's check if we got pointed to a PBP within such a directory.
|
||||
// If so we just move up and return the directory itself as the game.
|
||||
|
@ -177,6 +181,10 @@ bool LoadFile(std::string &filename, std::string *error_string) {
|
|||
pspFileSystem.SetStartingDirectory("disc0:/PSP_GAME/USRDIR");
|
||||
return Load_PSP_ISO(filename.c_str(), error_string);
|
||||
|
||||
case FILETYPE_PSP_PS1_PBP:
|
||||
*error_string = "PS1 EBOOTs are not supported by PPSSPP.";
|
||||
break;
|
||||
|
||||
case FILETYPE_ERROR:
|
||||
ERROR_LOG(LOADER, "Could not read file");
|
||||
*error_string = "Error reading file";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue