From 492e8d4f92e72ea1f9403c204f88847c46af0dd5 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 16 Mar 2020 19:54:48 -0700 Subject: [PATCH] Core: Use full memory for ELF files. We only apply the MEMSIZE check for homebrew in PBP format. --- Core/System.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Core/System.cpp b/Core/System.cpp index e4a07d4f07..eff04fbead 100644 --- a/Core/System.cpp +++ b/Core/System.cpp @@ -220,6 +220,12 @@ void CPU_Init() { // ERROR_LOG(LOADER, "PBP directory resolution failed."); InitMemoryForGamePBP(loadedFile); break; + case IdentifiedFileType::PSP_ELF: + if (Memory::g_PSPModel != PSP_MODEL_FAT) { + INFO_LOG(LOADER, "ELF, using full PSP-2000 memory access"); + Memory::g_MemorySize = Memory::RAM_DOUBLE_SIZE; + } + break; default: break; }