2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:47:42 +00:00

Fix TSan-reported race conditions

This commit is contained in:
Jack Andersen
2018-06-01 14:03:31 -10:00
parent 4062b2dfb7
commit 56a5cfd115
10 changed files with 146 additions and 127 deletions

View File

@@ -24,8 +24,8 @@ void CScriptStreamedMusic::StopStream(CStateManager& mgr)
void CScriptStreamedMusic::StartStream(CStateManager& mgr)
{
CStreamAudioManager::Start(!x46_loop, x34_fileName, x50_volume,
x47_music, x48_fadeIn, x4c_fadeOut);
CStreamAudioManager::Start(!x46_loop, x34_fileName, x50_volume / 127.f,
x47_music, x48_fadeIn, x4c_fadeOut);
}
void CScriptStreamedMusic::TweakOverride(CStateManager& mgr)