Addr file and macro fix

This commit is contained in:
Ethan Roseman 2020-09-22 18:54:01 -04:00
parent 11d7006656
commit 196abe7db2
2 changed files with 1805 additions and 2 deletions

View File

@ -7,8 +7,8 @@
#define INCLUDE_ASM_T(TYPE, FOLDER, NAME, ARGS...) \
TYPE __attribute__((naked)) NAME(ARGS) { __asm__( ".include \"include/macro.inc\"\n.include \"asm/nonmatchings/"FOLDER"/"#NAME".s\"\n.set reorder\n.set at"); }
#else
#define INCLUDE_ASM(FOLDER, NAME, ARGS...) 1
#define INCLUDE_ASM_T(TYPE, FOLDER, NAME, ARGS...) 1
#define INCLUDE_ASM(FOLDER, NAME, ARGS...)
#define INCLUDE_ASM_T(TYPE, FOLDER, NAME, ARGS...)
#endif
#define ARRAY_COUNT(arr) (s32)(sizeof(arr) / sizeof(arr[0]))

1803
tools/func_addrs.txt Normal file

File diff suppressed because it is too large Load Diff