Decompile much of musyx

This commit is contained in:
gamemasterplc 2023-12-30 09:01:00 -06:00
parent 572a5e5a58
commit 36c41780cf
9 changed files with 100 additions and 22 deletions

View file

@ -150,9 +150,11 @@ cflags_base = [
"-fp_contract on",
"-str reuse",
"-i include",
"-i extern/musyx/include",
f"-i build/{config.version}/include",
"-multibyte",
f"-DVERSION={version_num}",
"-DMUSY_TARGET=MUSY_TARGET_DOLPHIN",
]
# Debug flags
@ -210,6 +212,7 @@ cflags_musyx = [
"-nodefaults",
"-nosyspath",
"-i include",
"-i extern/musyx/include",
"-inline auto",
"-O4,p",
"-fp hard",
@ -661,37 +664,37 @@ config.libs = [
},
MusyX(
objects={
Object(NonMatching, "musyx/runtime/seq.c"),
Object(Matching, "musyx/runtime/seq.c"),
Object(NonMatching, "musyx/runtime/synth.c"),
Object(NonMatching, "musyx/runtime/seq_api.c"),
Object(NonMatching, "musyx/runtime/snd_synthapi.c"),
Object(Matching, "musyx/runtime/seq_api.c"),
Object(Matching, "musyx/runtime/snd_synthapi.c"),
Object(NonMatching, "musyx/runtime/stream.c"),
Object(NonMatching, "musyx/runtime/synthdata.c"),
Object(Matching, "musyx/runtime/synthdata.c"),
Object(NonMatching, "musyx/runtime/synthmacros.c"),
Object(NonMatching, "musyx/runtime/synthvoice.c"),
Object(NonMatching, "musyx/runtime/synth_ac.c"),
Object(NonMatching, "musyx/runtime/synth_dbtab.c"),
Object(Matching, "musyx/runtime/synth_ac.c"),
Object(Matching, "musyx/runtime/synth_dbtab.c"),
Object(NonMatching, "musyx/runtime/synth_adsr.c"),
Object(NonMatching, "musyx/runtime/synth_vsamples.c"),
Object(NonMatching, "musyx/runtime/s_data.c"),
Object(NonMatching, "musyx/runtime/hw_dspctrl.c"),
Object(NonMatching, "musyx/runtime/hw_volconv.c"),
Object(NonMatching, "musyx/runtime/snd3d.c"),
Object(NonMatching, "musyx/runtime/snd_init.c"),
Object(Matching, "musyx/runtime/hw_volconv.c"),
Object(Matching, "musyx/runtime/snd3d.c"),
Object(Matching, "musyx/runtime/snd_init.c"),
Object(NonMatching, "musyx/runtime/snd_math.c"),
Object(NonMatching, "musyx/runtime/snd_midictrl.c"),
Object(NonMatching, "musyx/runtime/snd_service.c"),
Object(NonMatching, "musyx/runtime/hardware.c"),
Object(NonMatching, "musyx/runtime/dsp_import.c"),
Object(NonMatching, "musyx/runtime/hw_aramdma.c"),
Object(NonMatching, "musyx/runtime/hw_dolphin.c"),
Object(NonMatching, "musyx/runtime/hw_memory.c"),
Object(NonMatching, "musyx/runtime/CheapReverb/creverb_fx.c"),
Object(Matching, "musyx/runtime/hardware.c"),
Object(Matching, "musyx/runtime/dsp_import.c"),
Object(Matching, "musyx/runtime/hw_aramdma.c"),
Object(Matching, "musyx/runtime/hw_dolphin.c"),
Object(Matching, "musyx/runtime/hw_memory.c"),
Object(Matching, "musyx/runtime/CheapReverb/creverb_fx.c"),
Object(NonMatching, "musyx/runtime/CheapReverb/creverb.c"),
Object(NonMatching, "musyx/runtime/StdReverb/reverb_fx.c"),
Object(Matching, "musyx/runtime/StdReverb/reverb_fx.c"),
Object(NonMatching, "musyx/runtime/StdReverb/reverb.c"),
Object(NonMatching, "musyx/runtime/Delay/delay_fx.c"),
Object(NonMatching, "musyx/runtime/Chorus/chorus_fx.c"),
Object(Matching, "musyx/runtime/Delay/delay_fx.c"),
Object(Matching, "musyx/runtime/Chorus/chorus_fx.c"),
}
),
{