diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-10-27 00:29:52 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-10-27 00:29:52 -0400 |
| commit | 81ebe0dfd449166e00de31ce9be2d7449e31536c (patch) | |
| tree | 0f7b648f69950c3d5edd916041ac52697c94ca4d /src/JSystem/JAudio/JAISound.cpp | |
| parent | 02de6b772d06b2ed15bbe7b25d01901fdca84966 (diff) | |
Work on JAS inlines, fix limits/climits headers
Diffstat (limited to 'src/JSystem/JAudio/JAISound.cpp')
| -rw-r--r-- | src/JSystem/JAudio/JAISound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JSystem/JAudio/JAISound.cpp b/src/JSystem/JAudio/JAISound.cpp index 475533f9..b87b2381 100644 --- a/src/JSystem/JAudio/JAISound.cpp +++ b/src/JSystem/JAudio/JAISound.cpp @@ -517,7 +517,7 @@ void JAISound::setTrackPortData(u8 param_1, u8 param_2, u16 param_3) { /* 80299CD4-80299DE8 .text setSeInterRandomPara__8JAISoundFPfUlff */ void JAISound::setSeInterRandomPara(f32* param_1, u32 param_2, f32 param_3, f32 param_4) { - u32 uVar3 = JAInter::Const::random.get_uint32(UINT32_MAX); + u32 uVar3 = JAInter::Const::random.get_uint32(UINT_MAX); u32 term = uVar3 / (param_2 * 2); f32 fVar2 = ((f32)(uVar3 - term * (param_2 * 2) + 1) - param_2) / 1000.0f; |
