From 9a71ac726bb9cb5a9b842e066730fe193f49d9a7 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Thu, 30 Nov 2017 15:17:02 -0800 Subject: [PATCH] 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. --- Core/HLE/sceKernelModule.cpp | 2 +- ext/native/ui/viewgroup.cpp | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Core/HLE/sceKernelModule.cpp b/Core/HLE/sceKernelModule.cpp index 3c8170b829..0b5258244c 100644 --- a/Core/HLE/sceKernelModule.cpp +++ b/Core/HLE/sceKernelModule.cpp @@ -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; diff --git a/ext/native/ui/viewgroup.cpp b/ext/native/ui/viewgroup.cpp index 5c93a4c4c3..eb11872a8f 100644 --- a/ext/native/ui/viewgroup.cpp +++ b/ext/native/ui/viewgroup.cpp @@ -1314,10 +1314,6 @@ EventReturn ListView::OnItemCallback(int num, EventParams &e) { View *focused = GetFocusedView(); OnChoice.Trigger(ev); CreateAllItems(); - // TODO: At this point, focused may no longer exist, depending on what OnChoice.Trigger does. - // Disable the refocus feature for now. - // if (focused) - // SetFocusedView(e.v); return EVENT_DONE; }