Module: Stop reporting bad magic numbers.

We get these a lot, and they seem to be related to corrupt isos, not
related to actual emulation issues we can do anything about.

Even if there's a game trying to load an SFO as a PRX out there somewhere,
we'll never find it among all the noise.
This commit is contained in:
Unknown W. Brackets committed 2017-11-30 15:17:02 -08:00
1 parent 39fc2c8d6a
commit 9a71ac726b
2 files changed
+1 -5

No files matched your search

+1 -1
View File
@@ -1148,7 +1148,7 @@ static Module *__KernelLoadELFFromPtr(const u8 *ptr, size_t elfSize, u32 loadAdd
// DO NOT change to else if, see above.
if (*magicPtr != 0x464c457f) {
ERROR_LOG_REPORT(SCEMODULE, "Wrong magic number %08x", *magicPtr);
ERROR_LOG(SCEMODULE, "Wrong magic number %08x", *magicPtr);
*error_string = "File corrupt";
if (newptr)
delete [] newptr;