This commit is contained in:
LagoLunatic
2025-04-03 16:08:26 -04:00
parent 9b0f7c852f
commit 1ca8069c76
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -820,7 +820,7 @@ config.libs = [
Object(Matching, "JSystem/JAudio/JAIBankWave.cpp"),
Object(Matching, "JSystem/JAudio/JAIConst.cpp"),
Object(Matching, "JSystem/JAudio/JAIDummyObject.cpp"),
Object(NonMatching, "JSystem/JAudio/JAIFx.cpp"),
Object(Matching, "JSystem/JAudio/JAIFx.cpp"),
Object(Matching, "JSystem/JAudio/JAIGlobalParameter.cpp"),
Object(Matching, "JSystem/JAudio/JAIInitData.cpp"),
Object(NonMatching, "JSystem/JAudio/JAISeMgr.cpp"),
+3 -1
View File
@@ -130,7 +130,9 @@ namespace JASystem {
inline void flushChannel(u8) {}
inline void restart() {}
inline void setBusConnect(u8, u8, u8) {}
inline void setFXLine(u8, s16*, FxlineConfig_*) {}
inline void setFXLine(u8 i, s16* buffer, FxlineConfig_* config) {
getFXHandle(i)->setFXLine(buffer, config);
}
inline void setMixerInitDelayMax(u8, u8) {}
inline void setMixerInitVolume(u8, u8, s16, u8) {}
inline void setMixerVolume(u8, u8, s16, u8) {}
+1 -3
View File
@@ -17,7 +17,6 @@ void** JAInter::Fx::mFxconfigTable;
/* 80291CCC-80292068 .text init__Q27JAInter2FxFv */
void JAInter::Fx::init() {
/* Nonmatching */
if (initOnCodeFxScene) {
mBufferSizeMax = new (JAIBasic::getCurrentJAIHeap(), 4) u32[4];
mBufferPointer = new (JAIBasic::getCurrentJAIHeap(), 4) s16*[4];
@@ -35,8 +34,7 @@ void JAInter::Fx::init() {
s16* _buf = new (JAIBasic::getCurrentJAIHeap(), 0x20) s16[ALIGN_PREV(getBufferSizeMax(i) * 160, 2) / 2];
JUT_ASSERT_MSG(57, _buf, "JAIFx::initHeap Cannot Alloc Heap!!\n");
setBufferPointer(i, _buf);
JASystem::DSPInterface::FxlineConfig_* config = &getFxconfigTable()[0][i];
JASystem::DSPInterface::getFXHandle(i)->setFXLine(getBufferPointer(i), config);
JASystem::DSPInterface::setFXLine(i, getBufferPointer(i), &getFxconfigTable()[0][i]);
}
}
}
+2 -2
View File
@@ -77,8 +77,8 @@ void JASystem::DSPInterface::initBuffer() {
}
/* 8028A368-8028A378 .text getFXHandle__Q28JASystem12DSPInterfaceFUc */
JASystem::DSPInterface::FXBuffer* JASystem::DSPInterface::getFXHandle(u8 param_1) {
return FX_BUF + param_1;
JASystem::DSPInterface::FXBuffer* JASystem::DSPInterface::getFXHandle(u8 i) {
return &FX_BUF[i];
}
u16 JASystem::DSPInterface::SEND_TABLE[] = {