mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 11:48:36 +01:00
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:
1 parent
39fc2c8d6a
commit
9a71ac726b
2 files changed
+1
-5
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user