From 2fddf50653da3868ca65fdfc5c2cc8448912adf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 31 Mar 2025 16:55:35 +0200 Subject: [PATCH] Correct PRX dumping (was using the wrong size) --- Core/HLE/sceKernelModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/sceKernelModule.cpp b/Core/HLE/sceKernelModule.cpp index da5a26fff3..f3a21aadc2 100644 --- a/Core/HLE/sceKernelModule.cpp +++ b/Core/HLE/sceKernelModule.cpp @@ -1154,7 +1154,7 @@ static PSPModule *__KernelLoadELFFromPtr(const u8 *ptr, size_t elfSize, u32 load // Use the name from the header. elfFilename = head->modname; } - DumpFileIfEnabled(ptr, head->psp_size, elfFilename.c_str(), DumpFileType::PRX); + DumpFileIfEnabled(ptr, elfSize, elfFilename.c_str(), DumpFileType::PRX); // This should happen for all "kernel" modules. *error_string = "Missing key";