From 4d1f861381af256221111b333a10b79fd4c53f8f Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Thu, 24 May 2012 16:48:24 +0000 Subject: [PATCH] -fixed ios reloading games --- source/loader/disc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/loader/disc.c b/source/loader/disc.c index cdccd738..d9b600d0 100644 --- a/source/loader/disc.c +++ b/source/loader/disc.c @@ -56,13 +56,16 @@ void __Disc_SetLowMem() *Bus_Speed = 0x0E7BE2C0; // Console Bus Speed *CPU_Speed = 0x2B73A840; // Console CPU Speed *Assembler = 0x38A00040; // Assembler - *(u32*)0x800000E4 = 0x80431A80; + *(vu32*)0x800000E4 = 0x80431A80; *Dev_Debugger = 0x81800000; // Dev Debugger Monitor Address *Simulated_Mem = 0x01800000; // Simulated Memory Size *(vu32*)0xCD00643C = 0x00000000; // 32Mhz on Bus + /* Fix for Sam & Max (WiiPower) */ + *GameID_Address = 0x80000000; + /* Copy disc ID */ - memcpy((void *) Online_Check, (void *) Disc_ID, 4); + memcpy((void *)Online_Check, (void *)Disc_ID, 4); } GXRModeObj * __Disc_SelectVMode(u8 videoselected, u64 chantitle)