mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
Boot: Unify the ELF and DOL code paths
They're essentially the same. To achieve this, this commit unifies DolReader and ElfReader into a common interface for boot executable readers, so the only remaining difference between ELF and DOL is how which volume is inserted.
This commit is contained in:
@ -134,8 +134,7 @@ bool Load()
|
||||
return false;
|
||||
}
|
||||
|
||||
std::vector<u8> elf_bytes = mios.GetElf();
|
||||
ElfReader elf{elf_bytes.data()};
|
||||
ElfReader elf{mios.GetElf()};
|
||||
if (!elf.LoadIntoMemory(true))
|
||||
{
|
||||
PanicAlertT("Failed to load MIOS ELF into memory.");
|
||||
|
Reference in New Issue
Block a user