summaryrefslogtreecommitdiff
path: root/src/JSystem/JAudio/JASChAllocQueue.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2023-12-18 15:55:47 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2023-12-18 15:55:47 -0500
commit2d8219703469c74e9bb56ef7a85a48bea3d76fcf (patch)
tree30cd51224f0da72ef4885e22fd4235466f5eb42b /src/JSystem/JAudio/JASChAllocQueue.cpp
parentcd7dc9ddd74a74449b4f25693ec1de1fbac61810 (diff)
JASDSPBuf, JASChAllocQueue OK
Diffstat (limited to 'src/JSystem/JAudio/JASChAllocQueue.cpp')
-rw-r--r--src/JSystem/JAudio/JASChAllocQueue.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/JSystem/JAudio/JASChAllocQueue.cpp b/src/JSystem/JAudio/JASChAllocQueue.cpp
index cb51ec07..79421b5f 100644
--- a/src/JSystem/JAudio/JASChAllocQueue.cpp
+++ b/src/JSystem/JAudio/JASChAllocQueue.cpp
@@ -45,10 +45,9 @@ void JASystem::TDSPQueue::deQueue() {
/* 8028B224-8028B288 .text enQueue__Q28JASystem9TDSPQueueFPQ28JASystem8TChannel */
void JASystem::TDSPQueue::enQueue(TChannel* param_1) {
- /* Nonmatching */
JSUListIterator<TChannel> it;
for (it = sDspQueueList.getFirst(); it != sDspQueueList.getEnd(); it++) {
- if ((it->field_0x48 & 0xff) <= (param_1->field_0x48 & 0xff)) {
+ if (param_1->getNoteOnPriority() > it->getNoteOnPriority()) {
break;
}
}