add function to set sound volume

This commit is contained in:
headshot2017
2023-02-04 21:39:10 -04:00
parent 80b710f482
commit 6dfc5d1943
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -666,3 +666,8 @@ SM64_LIB_FN void sm64_play_sound_global(int32_t soundBits)
{
play_sound(soundBits,gGlobalSoundSource);
}
SM64_LIB_FN void sm64_set_sound_volume(float vol)
{
gAudioVolume = vol;
}