CDImage: Add support for loading PBP images

This commit is contained in:
Albert Liu
2021-03-11 23:24:12 -08:00
parent a34f0d5599
commit 46ff2b553d
12 changed files with 882 additions and 6 deletions

View File

@ -299,8 +299,8 @@ bool IsLoadableFilename(const char* path)
static constexpr auto extensions = make_array(".bin", ".cue", ".img", ".iso", ".chd", ".ecm", ".mds", // discs
".exe", ".psexe", // exes
".psf", ".minipsf", // psf
".m3u" // playlists
);
".m3u", // playlists
".pbp");
const char* extension = std::strrchr(path, '.');
if (!extension)
return false;