minecraft-pi-reborn/mods/src/touch.c

7 lines
183 B
C
Raw Normal View History

2020-09-25 16:43:53 +00:00
#include <libcore/libcore.h>
__attribute__((constructor)) static void init() {
unsigned char patch_data[4] = {0x01, 0x00, 0x50, 0xe3};
patch((void *) 0x292fc, patch_data);
}