Skip to content

Commit

Permalink
Merge pull request #12717 from unknownbrackets/elf-memsize
Browse files Browse the repository at this point in the history
Core: Use full memory for ELF files
  • Loading branch information
hrydgard authored Mar 17, 2020
2 parents 6310f55 + 492e8d4 commit 0c17096
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Core/System.cpp
Original file line number Diff line number Diff line change
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 0c17096

Please sign in to comment.