diff --git a/include/Kyoto/Audio/CSfxManager.hpp b/include/Kyoto/Audio/CSfxManager.hpp index b448811a..920424ca 100644 --- a/include/Kyoto/Audio/CSfxManager.hpp +++ b/include/Kyoto/Audio/CSfxManager.hpp @@ -88,7 +88,7 @@ public: static void AddListener(ESfxChannels channel, const CVector3f& pos, const CVector3f& dir, const CVector3f& vec1, const CVector3f& vec2, float f1, float f2, - uint w1, uchar maxVolume, float f3); + float f3, uint w1, const uchar maxVolume); static void Shutdown(); static ushort TranslateSFXID(ushort); diff --git a/src/MetroidPrime/Cameras/CCameraManager.cpp b/src/MetroidPrime/Cameras/CCameraManager.cpp index 0055ea45..edce7acd 100644 --- a/src/MetroidPrime/Cameras/CCameraManager.cpp +++ b/src/MetroidPrime/Cameras/CCameraManager.cpp @@ -46,8 +46,8 @@ CCameraManager::CCameraManager(TUniqueId curCamera) , x3b8_25_(false) , x3bc_curFov(sThirdPersonFOV) { CSfxManager::AddListener(CSfxManager::kSC_Game, CVector3f::Zero(), CVector3f::Zero(), - CVector3f(1.f, 0.f, 0.f), CVector3f(0.f, 0.f, 1.f), 50.f, 50.f, 1, - CAudioSys::kMaxVolume, 1000.f); + CVector3f(1.f, 0.f, 0.f), CVector3f(0.f, 0.f, 1.f), 50.f, 50.f, 1000.f, + 1, CAudioSys::kMaxVolume); sAspectRatio = (float)CGraphics::GetViewport().mWidth / CGraphics::GetViewport().mHeight; sFirstPersonFOV = gpTweakGame->GetFirstPersonFOV(); }