m_Do_audio OK

This commit is contained in:
LagoLunatic
2024-01-07 03:30:32 -05:00
parent f683c2bfc4
commit 18ce176ad7
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ config.libs = [
# machine
Object(Matching, "m_Do/m_Do_main.cpp"),
Object(Matching, "m_Do/m_Do_printf.cpp"),
Object(NonMatching, "m_Do/m_Do_audio.cpp"),
Object(Matching, "m_Do/m_Do_audio.cpp"),
Object(Matching, "m_Do/m_Do_controller_pad.cpp"),
Object(NonMatching, "m_Do/m_Do_graphic.cpp"),
Object(Matching, "m_Do/m_Do_machine.cpp"),
+1 -1
View File
@@ -42,7 +42,7 @@ namespace JAInter {
void init(bool);
void allocBuffer(void*, s32);
bool deallocBuffer();
int getNeedBufferSize();
u32 getNeedBufferSize();
void setAllocBufferCallback(void (*)(void));
void setDeallocBufferCallback(void (*)(void));
void sync(s32);
+1 -1
View File
@@ -163,7 +163,7 @@ bool JAInter::StreamLib::deallocBuffer() {
}
/* 8029CC50-8029CCA4 .text getNeedBufferSize__Q27JAInter9StreamLibFv */
int JAInter::StreamLib::getNeedBufferSize() {
u32 JAInter::StreamLib::getNeedBufferSize() {
/* Nonmatching */
}
+3 -2
View File
@@ -15,6 +15,8 @@
#include "m_Do/m_Do_ext.h"
#include "m_Do/m_Do_printf.h"
u8 dummy_3569[0xC];
JAIZelInst mDoAud_zelAudio_c::mTact;
mDoAud_zelAudio_c g_mDoAud_zelAudio;
@@ -49,10 +51,9 @@ JKRExpHeap* mDoAud_audioStreamHeap;
/* 80006DD4-80006F88 .text mDoAud_allocStreamBuffer__Fv */
void mDoAud_allocStreamBuffer() {
/* Nonmatching */
JUT_ASSERT(98, mDoAud_StreamBufferPointer == 0);
u32 var1 = mDoAud_StreamBufferBlocks;
s32 size;
u32 size;
while (true) {
JAIGlobalParameter::setParamStreamDecodedBufferBlocks(var1);
size = JAInter::StreamLib::getNeedBufferSize();