mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Allow ELFs to be named PBP, there are a bunch of such homebrew floating around it seems
This commit is contained in:
1 parent
67c185f8ea
commit
3b9e365b1e
1 file changed
+3
-1
+3
-1
@@ -87,8 +87,10 @@ EmuFileType Identify_File(std::string &filename)
|
||||
|
||||
if (id == 'FLE\x7F')
|
||||
{
|
||||
// There are a few elfs misnamed as pbp (like Trig Wars), accept that.
|
||||
if (!strcasecmp(extension.c_str(), ".plf") || strstr(filename.c_str(),"BOOT.BIN") ||
|
||||
!strcasecmp(extension.c_str(), ".elf") || !strcasecmp(extension.c_str(), ".prx") )
|
||||
!strcasecmp(extension.c_str(), ".elf") || !strcasecmp(extension.c_str(), ".prx") ||
|
||||
!strcasecmp(extension.c_str(), ".pbp"))
|
||||
{
|
||||
return FILETYPE_PSP_ELF;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user