mirror of
https://github.com/mwpenny/portal64-still-alive.git
synced 2024-10-19 22:27:36 -04:00
42a9189c95
* Assemble through `gcc` instead of `as` directly, so source files are preprocessed (i.e., `#include`) * `gcc` does not pass `-I` include directories to `as`. This can supposedly be fixed by recompiling `gcc` with `--with-gnu-as`. Popular N64 toolchain binary distributions don't do this, and to lower the barrier to entry I don't want to force users to have to compile their own. Work around it by passing `-Wa,-I`. * CMake only finds assembly dependencies when preprocessing, not when assembling. Use `#include` instead of `.include` to work around this. The `.incbin`s used by `sound_data.s` are covered by the sound_data_tables target dependency.
14 lines
310 B
ArmAsm
14 lines
310 B
ArmAsm
#include "macros.inc"
|
|
|
|
.section .data
|
|
|
|
.glabel _soundsSegmentRomStart
|
|
.incbin "build/assets/sound/sounds.sounds"
|
|
.balign 16
|
|
.glabel _soundsSegmentRomEnd
|
|
|
|
.glabel _soundsTblSegmentRomStart
|
|
.incbin "build/assets/sound/sounds.sounds.tbl"
|
|
.balign 16
|
|
.glabel _soundsTblSegmentRomEnd
|