diff --git a/bin/geckoloader.bin b/bin/geckoloader.bin index 54ab518..cc4fe7f 100644 Binary files a/bin/geckoloader.bin and b/bin/geckoloader.bin differ diff --git a/loader.cpp b/loader.cpp index fa7e725..9ed31ec 100644 --- a/loader.cpp +++ b/loader.cpp @@ -351,7 +351,7 @@ static void initMods() if (((ppc >> 24) & 0xFF) > 0x47 && ((ppc >> 24) & 0xFF) < 0x4C) { Memory::Direct::branch((void*)fillInField, (void*)returnAddress, ppc & 1); } else { - Memory::Direct::write(fillInField, *gpModInfo.codehandlerHook); + Memory::Direct::write(fillInField, ppc); } /*Write branch back to the hook address + 4*/