minecraft-pi-reborn/mods/src/touch.c
2020-09-25 12:43:53 -04:00

9 lines
292 B
C

#include <libcore/libcore.h>
__attribute__((constructor)) static void init() {
unsigned char patch_data[4] = {0x01, 0x00, 0x50, 0xe3};
patch((void *) 0x292fc, patch_data);
//unsigned char patch_data_2[4] = {0x00, 0x30, 0xa0, 0xe3};
//patch((void *) 0x3d9b8, patch_data_2);
}