Merge pull request #5077 from ds84182/volume_directory_off_by_uno

Fix VolumeDirectory for Wii games
This commit is contained in:
Léo Lam
2017-04-29 23:57:32 +02:00
committed by GitHub
3 changed files with 25 additions and 19 deletions

View File

@ -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()