diff --git a/source/channel/channel_launcher.c b/source/channel/channel_launcher.c index a28e6db2..0402b949 100644 --- a/source/channel/channel_launcher.c +++ b/source/channel/channel_launcher.c @@ -51,7 +51,7 @@ s32 BootChannel(u8 *data, u64 chantitle, u8 vidMode, bool vipatch, bool countryS /* Set time */ __Disc_SetTime(); - /* Set low memery */ + /* Set low memory */ __Disc_SetLowMem(); if (hooktype != 0) diff --git a/source/homebrew/homebrew.cpp b/source/homebrew/homebrew.cpp index a58a5265..aea35097 100644 --- a/source/homebrew/homebrew.cpp +++ b/source/homebrew/homebrew.cpp @@ -137,12 +137,17 @@ 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; - - memmove(ARGS_ADDR, &args, sizeof(args)); + + if(!IsDollZ(homebrewbuffer)) + memcpy(ARGS_ADDR, &args, sizeof(args)); + else + memset(ARGS_ADDR, 0, sizeof(args)); + DCFlushRange(ARGS_ADDR, sizeof(args) + args.length); - + SYS_ResetSystem(SYS_SHUTDOWN, 0, 0); entry(); diff --git a/source/loader/disc.c b/source/loader/disc.c index ff6989fe..220ecf2e 100644 --- a/source/loader/disc.c +++ b/source/loader/disc.c @@ -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 NeoGamme (thx) */ *(vu32*)0xCC003024 = 1; // fix for PeppaPig diff --git a/source/menu/menu_config4.cpp b/source/menu/menu_config4.cpp index 7eaaf871..1ee04eea 100644 --- a/source/menu/menu_config4.cpp +++ b/source/menu/menu_config4.cpp @@ -20,7 +20,7 @@ int amountOfChannels = -1; const CMenu::SOption CMenu::_exitTo[6] = { { "def", L"Default" }, - { "menu", L"Sytem Menu" }, + { "menu", L"System Menu" }, { "hbc", L"HBC" }, { "prii", L"Priiloader" }, { "disabled", L"Disabled" },