From 81ebe0dfd449166e00de31ce9be2d7449e31536c Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Tue, 27 Oct 2026 00:29:52 -0400 Subject: Work on JAS inlines, fix limits/climits headers --- src/JSystem/JAudio/JASInstRand.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/JSystem/JAudio/JASInstRand.cpp') diff --git a/src/JSystem/JAudio/JASInstRand.cpp b/src/JSystem/JAudio/JASInstRand.cpp index 91103ed4..e0617ecf 100644 --- a/src/JSystem/JAudio/JASInstRand.cpp +++ b/src/JSystem/JAudio/JASInstRand.cpp @@ -10,8 +10,8 @@ /* 80286B58-80286BF4 .text getY__Q28JASystem9TInstRandCFii */ f32 JASystem::TInstRand::getY(int, int) const { - static JMath::TRandom_fast_ oRandom(0); - f32 tmp = (oRandom.get_ufloat_1() * 2.0f - 0.9999999f); + static JMath::TRandom_ oRandom(0); + f32 tmp = oRandom.get_float(2.0f); tmp *= mWidth; return tmp + mBase; } -- cgit v1.2.3