mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-25 03:09:13 +01:00
Always load sceCcc if possible (disable HLE). PRX dumping fix.
This commit is contained in:
1 parent
b52e7913eb
commit
a870c2155d
2 files changed
+11
-4
No files matched your search
@@ -1180,9 +1180,15 @@ static PSPModule *__KernelLoadELFFromPtr(const u8 *ptr, size_t elfSize, u32 load
|
||||
|
||||
// If we've made it this far, it should be safe to dump.
|
||||
// Copy the name to ensure it's null terminated.
|
||||
char name[32]{};
|
||||
strncpy(name, head->modname, ARRAY_SIZE(head->modname));
|
||||
DumpFileIfEnabled(ptr, (u32)elfSize, name, DumpFileType::EBOOT);
|
||||
// TODO: How do we determine if it's the eboot?
|
||||
if (endsWith(filename, "BOOT.BIN")) {
|
||||
DumpFileIfEnabled(ptr, (u32)elfSize, "EBOOT.BIN", DumpFileType::EBOOT);
|
||||
} else {
|
||||
char name[32]{};
|
||||
strncpy(name, head->modname, ARRAY_SIZE(head->modname));
|
||||
|
||||
DumpFileIfEnabled(ptr, (u32)elfSize, name, DumpFileType::PRX);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user