summaryrefslogtreecommitdiff
path: root/src/Z2AudioLib/Z2SoundMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Z2AudioLib/Z2SoundMgr.cpp')
-rw-r--r--src/Z2AudioLib/Z2SoundMgr.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Z2AudioLib/Z2SoundMgr.cpp b/src/Z2AudioLib/Z2SoundMgr.cpp
index 8e32d68196..9d3b4825f0 100644
--- a/src/Z2AudioLib/Z2SoundMgr.cpp
+++ b/src/Z2AudioLib/Z2SoundMgr.cpp
@@ -14,6 +14,10 @@
#include "Z2AudioLib/Z2AudioCS.h"
#endif
+static void dummy() {
+ OS_REPORT("seqCallBack!!!!!\n");
+}
+
u16 seqCallback(JASTrack* track, u16 command) {
switch (command) {
case 0x1000:
@@ -246,7 +250,7 @@ void Z2SoundMgr::resetFilterAll() {
i = 0;
}
- for (; i < 9; i++) {
+ for (; i < MAX_CATEGORIES; i++) {
JAISeCategoryMgr* category = seMgr_.getCategory(i);
int se_count = category->getMaxActiveSe();
if (se_count > 0) {
@@ -274,7 +278,7 @@ void Z2SoundMgr::mixOut() {
i = 0;
}
- for (; i < 9; i++) {
+ for (; i < MAX_CATEGORIES; i++) {
JAISeCategoryMgr* category = seMgr_.getCategory(i);
int se_count = category->getMaxActiveSe();
if (se_count > 0) {