Merge branch 'audio_fixes_v2' of https://github.com/HarbourMasters/Starship into audio_fixes_v2

This commit is contained in:
Sonic Dreamcaster
2024-11-16 04:33:12 -03:00
4 changed files with 64 additions and 48 deletions
+3
View File
@@ -447,6 +447,9 @@ void Game_Update(void) {
#ifdef MODS_BOOT_STATE
gNextGameState = MODS_BOOT_STATE;
#endif
CVarSetFloat("gMainMusicVolume", gSaveFile.save.data.musicVolume / 100.0f);
CVarSetFloat("gVoiceVolume", gSaveFile.save.data.voiceVolume / 100.0f);
CVarSetFloat("gSFXMusicVolume", gSaveFile.save.data.sfxVolume / 100.0f);
for (i = 0; i < 4; i++) {
gBoostButton[i] = L_CBUTTONS;
gBrakeButton[i] = D_CBUTTONS;