[jak3] Fix issue where some vag streams never queue (#3805)
Some checks failed
Build / 🖥️ Windows (push) Has been cancelled
Build / 🐧 Linux (push) Has been cancelled
Build / 🍎 MacOS (push) Has been cancelled
Inform Pages Repo / Generate Documentation (push) Has been cancelled
Lint / 📝 Formatting (push) Has been cancelled
Lint / 📝 Required Checks (push) Has been cancelled
Lint / 📝 Optional Checks (push) Has been cancelled
Update Controller Database / update-controller-db (push) Has been cancelled

Accidentally incrementing `s` twice in the loop, so queued streams in
slot 1, and 3 were skipped by the overlord.
This would usually cause the audio to never start playing because the
game would wait for the audio to successfully get queued.

Co-authored-by: water111 <awaterford1111445@gmail.com>
This commit is contained in:
water111 2024-12-14 13:33:38 -05:00 committed by GitHub
parent 0e5aed329e
commit 0e55ff6108
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -220,7 +220,6 @@ void* RPC_PLAY(unsigned int, void* msg_in, int size) {
priority = priority + -1;
}
}
s = s + 1;
}
SignalSema(g_EEStreamsList.sema);
} break;