From 767e3ba17ea514010cbc4f2015f8ffc1d4d87286 Mon Sep 17 00:00:00 2001 From: Jcw87 Date: Mon, 5 Jan 2026 03:54:00 -0800 Subject: Z2AudioLib debug (#3016) --- src/Z2AudioLib/Z2SoundMgr.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/Z2AudioLib/Z2SoundMgr.cpp') 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) { -- cgit v1.2.3