Commit Graph

6 Commits

Author SHA1 Message Date
AnonymousRandomPerson
42fbcecdde Defined pointers for sound_data 2023-06-09 21:46:57 -04:00
mid-kid
99a038284b Translate all .include to #include
This decision was made to reduce the complexity of using .include whilst
juggling with tools/scaninc and tools/preproc:
- tools/scaninc doesn't apply the proper search rules for .include (it
  assumes #include behavior). In particular, it doesn't consider paths
  starting from $PWD, and doesn't scan the included files as a result.
- .include had to be processed before #include by preproc in many cases,
  as code was being included that had to be preprocessed by CPP (think
  of #define). This contradicts standard GCC behavior.

To make include paths consistent across the asm/ data/ and src/
directories, the following files were moved:
- constants/ → include/asm/constants/
- asm/macros/ → include/asm/macros/
- asm/macros.inc → include/asm/macros.inc
- include/macros/m4a.inc → include/asm/macros/m4a.inc

As part of the necessary changes for this to work, the scaninc method in
the makefile was improved to generate .d files that don't choke when
files are missing.
2021-12-20 16:29:12 +01:00
Mateusz Naściszewski
0f877a3561
Improve calcrom, add incbin counting, fix a few existing issues (#7) 2020-12-12 14:44:18 -06:00
nullableVoidPtr
ff37bfefe0 Dump gMPlayTable and gSongTable 2018-11-20 19:50:34 +08:00
nullableVoidPtr
c7045ae369 Identify, split, decompile m4a, and more
ResetSprites, gCharMemCursor, gSpriteCount; analysed subheaps; identified more file pointers
2018-11-20 15:04:02 +08:00
sceptillion
b268532079 split file archives 2017-12-11 02:44:20 -08:00