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

Working SFX playback

This commit is contained in:
Jack Andersen
2017-01-22 21:22:17 -10:00
parent 9701907a3a
commit afd852f1a4
13 changed files with 664 additions and 55 deletions

View File

@@ -39,6 +39,10 @@ CGameArchitectureSupport::CGameArchitectureSupport(CMain& parent, boo::IAudioVoi
g_GuiSys = &x44_guiSys;
x30_inputGenerator.startScanning();
CAudioSys::SysSetVolume(0x7f);
CAudioSys::SetDefaultVolumeScale(0x75);
CAudioSys::SetVolumeScale(CAudioSys::GetDefaultVolumeScale());
CStreamAudioManager::Initialize();
m->ResetGameState();
@@ -267,6 +271,7 @@ bool CMain::Proc()
CGBASupport::GlobalPoll();
x164_archSupport->UpdateTicks();
x164_archSupport->Update();
CSfxManager::Update(1.f / 60.f);
CStreamAudioManager::Update(1.f / 60.f);
return x160_24_finished;
}