mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
Boot: When loading an FST for a Wii game, update IOS_MEM1_ARENA_END
Without doing this, Wii games loaded as an ELF will zero out the FST. This mirrors the behavior of the actual apploader.
This commit is contained in:
parent
138b0cb14e
commit
ec9579ebcd
@ -79,6 +79,12 @@ void CBoot::Load_FST(bool is_wii)
|
||||
DVDRead(fst_offset << shift, arena_high, fst_size << shift, is_wii);
|
||||
Memory::Write_U32(arena_high, 0x00000038);
|
||||
Memory::Write_U32(max_fst_size << shift, 0x0000003c);
|
||||
|
||||
if (is_wii)
|
||||
{
|
||||
// the apploader changes IOS MEM1_ARENA_END too
|
||||
Memory::Write_U32(arena_high, 0x00003110);
|
||||
}
|
||||
}
|
||||
|
||||
void CBoot::UpdateDebugger_MapLoaded()
|
||||
|
Loading…
Reference in New Issue
Block a user