mirror of https://github.com/ctnlaring/sm64
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
198 B
10 lines
198 B
#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);
|
|
}
|