Fix Default Game Mode Patch
This commit is contained in:
parent
267530e871
commit
c70199b355
@ -184,7 +184,8 @@ __attribute__((constructor)) static void init() {
|
|||||||
|
|
||||||
// Set Default Game Mode
|
// Set Default Game Mode
|
||||||
unsigned char default_game_mode_patch[4] = {default_game_mode ? 0x01 : 0x00, 0x30, 0xa0, 0xe3};
|
unsigned char default_game_mode_patch[4] = {default_game_mode ? 0x01 : 0x00, 0x30, 0xa0, 0xe3};
|
||||||
patch((void *) 0xba744, default_game_mode_patch);
|
patch((void *) 0x3d9b8, default_game_mode_patch);
|
||||||
|
patch((void *) 0x38a78, default_game_mode_patch);
|
||||||
|
|
||||||
// Disable Item Dropping When Cursor Is Hidden
|
// Disable Item Dropping When Cursor Is Hidden
|
||||||
tickItemDrop_original = overwrite((void *) tickItemDrop, tickItemDrop_injection);
|
tickItemDrop_original = overwrite((void *) tickItemDrop, tickItemDrop_injection);
|
||||||
|
Loading…
Reference in New Issue
Block a user