mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 13:44:15 +01:00
-fixed small comment typo in disc.c
-reverted xFede's unneeded copy-paste from gx !which was even not documented! from last rev r108 @xFede: I said you to leave it as it is, really don't do that again or I'll be angry, thanks.
This commit is contained in:
parent
28b476f8f9
commit
af090d536b
@ -137,17 +137,12 @@ int BootHomebrew()
|
||||
|
||||
memcpy(BOOTER_ADDR, app_booter_bin, app_booter_bin_size);
|
||||
DCFlushRange(BOOTER_ADDR, app_booter_bin_size);
|
||||
ICInvalidateRange(BOOTER_ADDR, app_booter_bin_size);
|
||||
|
||||
entrypoint entry = (entrypoint) BOOTER_ADDR;
|
||||
|
||||
if(!IsDollZ(homebrewbuffer))
|
||||
memcpy(ARGS_ADDR, &args, sizeof(args));
|
||||
else
|
||||
memset(ARGS_ADDR, 0, sizeof(args));
|
||||
|
||||
|
||||
memmove(ARGS_ADDR, &args, sizeof(args));
|
||||
DCFlushRange(ARGS_ADDR, sizeof(args) + args.length);
|
||||
|
||||
|
||||
SYS_ResetSystem(SYS_SHUTDOWN, 0, 0);
|
||||
entry();
|
||||
|
||||
|
@ -384,7 +384,7 @@ s32 Disc_BootPartition(u64 offset, u8 vidMode, bool vipatch, bool countryString,
|
||||
/* Shutdown IOS subsystems */
|
||||
SYS_ResetSystem(SYS_SHUTDOWN, 0, 0);
|
||||
|
||||
/* Originally from tueidj - taken from NeoGamme (thx) */
|
||||
/* Originally from tueidj - taken from NeoGamma (thx) */
|
||||
*(vu32*)0xCC003024 = 1;
|
||||
|
||||
// fix for PeppaPig
|
||||
|
Loading…
Reference in New Issue
Block a user