Skip to content

Decomp snd_param - #189

Merged
Eletonyy merged 4 commits into
mainfrom
sound-snd-param
Oct 27, 2026
Merged

Eletonyy merged 4 commits into
mainfrom
sound-snd-param

Conversation

@roengstrom

Copy link
Copy Markdown
Owner

No description provided.

The main executable's compile rule now honours EXPAND_DIV_SRCS, and snd_param.c is the first source on it.
func_80019934, func_8001999C, func_80019A2C and func_80019A94 set up the step and per-step change of two fades.
func_80019BC0, func_80019EA0 and func_8001A058 move voice bits between the music and sound effect masks and flag the tracks for an update.
It fills the sound command block from g_sndCmdArgs, which holds six arguments, and runs the command's handler.
@decomp-dev

decomp-dev Bot commented Oct 27, 2026

Copy link
Copy Markdown

Report for SLUS_008.92 (9c1c0ed - 9a5ce8b)

📈 Matched code: 67.67% (+0.12%, +1848 bytes)

✅ 8 new matches
Unit Item Bytes Before After
src/snd_param func_8001A1E8 +884 0.00% 100.00%
src/snd_param func_80019BC0 +220 0.00% 100.00%
src/snd_param func_80019EA0 +156 0.00% 100.00%
src/snd_param func_8001A058 +148 0.00% 100.00%
src/snd_param func_8001999C +116 0.00% 100.00%
src/snd_param func_80019A94 +116 0.00% 100.00%
src/snd_param func_80019934 +104 0.00% 100.00%
src/snd_param func_80019A2C +104 0.00% 100.00%

@Eletonyy
Eletonyy merged commit 829b3ed into main Oct 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants