From f406794e070c91ee378709e4ae6885a5e5268a81 Mon Sep 17 00:00:00 2001 From: CrazyRedMachine Date: Wed, 2 Oct 2024 21:17:09 +0200 Subject: [PATCH] fix omni patch gen --- popnhax/omnimix_patch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popnhax/omnimix_patch.cc b/popnhax/omnimix_patch.cc index ccc0e4d..9a6e749 100644 --- a/popnhax/omnimix_patch.cc +++ b/popnhax/omnimix_patch.cc @@ -397,7 +397,7 @@ bool find_weird_update_patches(char *buf, uint32_t buf_size, uint32_t music_limi uint32_t* ea; if ( new_popn ) - ea = find_binary(buf, buf_size, "\x83\xC4\x04\x89\x44\x24\x14\xC7", 8, 0, 0); + ea = find_binary(buf, buf_size, "\x83\xC4\x04\x89\x44\x24\x14\xC7\x44\x24", 10, 0, 0); else ea = find_binary(buf, buf_size, "\x83\xC4\x04\x3B\xC5\x74\x09", 7, 0, 0);