diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-12-18 15:55:47 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-12-18 15:55:47 -0500 |
| commit | 2d8219703469c74e9bb56ef7a85a48bea3d76fcf (patch) | |
| tree | 30cd51224f0da72ef4885e22fd4235466f5eb42b /src/JSystem/JAudio/JASDSPChannel.cpp | |
| parent | cd7dc9ddd74a74449b4f25693ec1de1fbac61810 (diff) | |
JASDSPBuf, JASChAllocQueue OK
Diffstat (limited to 'src/JSystem/JAudio/JASDSPChannel.cpp')
| -rw-r--r-- | src/JSystem/JAudio/JASDSPChannel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JSystem/JAudio/JASDSPChannel.cpp b/src/JSystem/JAudio/JASDSPChannel.cpp index f531e739..7fa0f425 100644 --- a/src/JSystem/JAudio/JASDSPChannel.cpp +++ b/src/JSystem/JAudio/JASDSPChannel.cpp @@ -249,11 +249,11 @@ f32 JASystem::DSP_LIMIT_RATIO = 1.1f; /* 80289E68-8028A04C .text updateAll__Q28JASystem11TDSPChannelFv */ void JASystem::TDSPChannel::updateAll() { /* Nonmatching */ - if (Kernel::gSubFrames <= 10) { + if (Kernel::getSubFrames() <= 10) { OSTick time = OSGetTick(); OSTick var3 = time - old_time; old_time = time; - u32 var2 = Kernel::gSubFrames - TAudioThread::snIntCount; + u32 var2 = Kernel::getSubFrames() - TAudioThread::snIntCount; history[var2] = var3; if (var2) { if (f32(history[0]) / var3 < DSP_LIMIT_RATIO) { |
