Skip to content

Commit

Permalink
Make menu patch version agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
psykana authored and v-atamanenko committed Jun 9, 2022
1 parent e52378b commit 91c7993
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions loader/patch_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ void patch_game(void) {
// game-specific
{
// Nuke side menu
uint32_t nop32 = 0xBF00BF00;
kuKernelCpuUnrestrictedMemcpy((void *)(so_mod.text_base + 0x001b4d1e), &nop32, sizeof(nop32));
hook_addr(so_symbol(&so_mod, "_Z13baba_get_viewPiS_S_S_ii"), (uintptr_t)&do_nothing);

#if GRAPHICS_API==GRAPHICS_API_PVR
hook_addr(so_symbol(&goo_mod, "_Z8bind_texj"), (uintptr_t)&bind_tex);
Expand Down

0 comments on commit 91c7993

Please sign in to comment.