3
0
mirror of https://github.com/CrazyRedMachine/popnhax.git synced 2024-11-23 22:00:57 +01:00

fix omni patch gen

This commit is contained in:
CrazyRedMachine 2024-10-02 21:17:09 +02:00
parent 70648336a3
commit f406794e07

View File

@ -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);