Add some missing HLE functions, fix loading unencrypted EBOOT.BIN

This commit is contained in:
Henrik Rydgard committed 2012-11-06 16:20:13 +01:00
1 parent 48bc1afe26
commit 28879934d6
7 files changed
+21 -5

No files matched your search

+1 -2
View File
@@ -71,8 +71,7 @@ bool Load_PSP_ISO(const char *filename, std::string *error_string)
{
u8 head[4];
pspFileSystem.ReadFile(fd, head, 4);
if (memcmp(head, "~PSP", 4) == 0) // || memcmp(head + 1, "ELF", 3) == 0)
{
if (memcmp(head, "~PSP", 4) == 0 || memcmp(head, "\x7F""ELF", 4) == 0) {
hasEncrypted = true;
}
}