PPU LLVM: Reduce PRX/OVL compilation memory usage a little

This commit is contained in:
Eladash 2021-02-12 13:40:55 +02:00 committed by Ivan
parent 0a23a5ef50
commit 423cc1685c
6 changed files with 53 additions and 11 deletions

View file

@ -1597,7 +1597,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
// Overlay (OVL) executable (only load it)
else if (vm::map(0x3000'0000, 0x1000'0000, 0x200); !ppu_load_overlay(ppu_exec, m_path).first)
{
ppu_exec = fs::file{};
ppu_exec.set_error(elf_error::header_type);
}
if (ppu_exec != elf_error::ok)