Add this line BEHIND the apploader, that's after getting the entrypoint. And before the DCFlushRange(...). This removes the 002 error then.
*(u32 *)0x80003140 = *(u32 *)0x80003188;
Here's how it looks like in Gamma's code:
CODE
appentrypoint = (u32)app_final();
// Remove 002
*(u32 *)0x80003140 = *(u32 *)0x80003188;
DCFlushRange((void*)0x80000000, 0x3f00);
// Remove 002
*(u32 *)0x80003140 = *(u32 *)0x80003188;
DCFlushRange((void*)0x80000000, 0x3f00);
Waninkoko changed the removement of the 002 that the cIOS does, the new method results in faster reading speed. For apps from system menu it should still be working, just game loaders need to do it from now on.
If anybody gets 002 with a game from disc channel(but i think that's broken anyways) or with VC/WiiWare that is patched to IOS249, report to Waninkoko.
Edited by WiiPower, 03 June 2009 - 09:21 AM.
















