mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Added a mips_to_c script to make it easier to use it
This commit is contained in:
@@ -13,6 +13,10 @@ ucode/
|
||||
# Linker file is automatically generated, so it should be ignored
|
||||
dkr.ld
|
||||
|
||||
# CTX files for mips2c should be ignored as we generate those
|
||||
ctx.c
|
||||
ctx_includes.c
|
||||
|
||||
# Misc stuff that should be ignored.
|
||||
.*/
|
||||
|
||||
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
ASMFILE=$(find . -type f -name "*$1.s")
|
||||
python3 ../mips_to_c/mips_to_c.py --context ctx.c -f $1 $ASMFILE > $1.c
|
||||
Reference in New Issue
Block a user