mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-19 07:04:45 +00:00
Allow ELFs to be named PBP, there are a bunch of such homebrew floating around it seems
This commit is contained in:
parent
67c185f8ea
commit
3b9e365b1e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user