1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-03 06:24:30 +00:00

Reorganize Audio Files & Name Remaining Audio Files (#1494)

* reorganize audio files

* audio code files

* split audio and libaudio

* audio_init_params to audio_configuration

* simplify file names

* move aisetnextbuf to libaudio

* move src/audio -> src/code/audio

* adjust makefile comment

* reorganize again into internal/external

* adjust comment

* restructure again
This commit is contained in:
engineer124 2023-07-07 07:55:10 +10:00 committed by GitHub
parent 0ce0313342
commit d307a37233
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 24 additions and 22 deletions

View file

@ -199,12 +199,14 @@ build/src/code/fmodf.o: OPTFLAGS := -g
build/src/code/__osMemset.o: OPTFLAGS := -g
build/src/code/__osMemmove.o: OPTFLAGS := -g
# Use signed chars instead of unsigned for code_800EC960.c (needed to match AudioDebug_ScrPrt)
build/src/code/code_800EC960.o: CFLAGS += -signed
build/src/audio/%.o: OPTFLAGS := -O2
# Use signed chars instead of unsigned for this audio file (needed to match AudioDebug_ScrPrt)
build/src/audio/general.o: CFLAGS += -signed
# Put string literals in .data for some audio files (needed to match these files with literals)
build/src/code/code_800F7260.o: CFLAGS += -use_readwrite_const
build/src/code/code_800F9280.o: CFLAGS += -use_readwrite_const
build/src/audio/sfx.o: CFLAGS += -use_readwrite_const
build/src/audio/sequence.o: CFLAGS += -use_readwrite_const
build/src/libultra/libc/absf.o: OPTFLAGS := -O2 -g3
build/src/libultra/libc/sqrt.o: OPTFLAGS := -O2 -g3