Core: Use full memory for ELF files.

We only apply the MEMSIZE check for homebrew in PBP format.
This commit is contained in:
Unknown W. Brackets committed 2020-03-16 19:54:48 -07:00
1 parent 6310f559f9
commit 492e8d4f92
1 file changed
+6
+6
View File
@@ -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;
}