banjo-kazooie/tools/mips_to_c_ctx.sh

7 lines
98 B
Bash
Executable File

#!/bin/bash
./tools/m2ctx.py $1
sed -i 's/\[\]/\[0\]/g' ctx.c
sed -i 's/sizeof(long)/8/g' ctx.c