sm64pc/tools/patch_libultra_math.c

11 lines
198 B
C
Raw Normal View History

2019-08-25 04:46:40 +00:00
#include <stdio.h>
int main(int argc, char **argv)
{
FILE *f = fopen(argv[1], "r+");
fseek(f, 0x24, SEEK_SET);
char byte = 0x10;
fwrite(&byte, sizeof(char), 1, f);
fclose(f);
}