Skip to content

Commit

Permalink
Core: Use full memory for ELF files.
Browse files Browse the repository at this point in the history
We only apply the MEMSIZE check for homebrew in PBP format.
  • Loading branch information
unknownbrackets committed Mar 17, 2020
1 parent 6310f55 commit 492e8d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Core/System.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 492e8d4

Please sign in to comment.