Fix audio cutoff issues (#195)

This fix the audio cutoff issues when building in release mode

Explaination from @garrettjoecox
The result of osAiSetFrequency was being used later on to multiply the length an audio sequence would play. In debug mode this stub was returning 1, whereas in release mode this would return whatever was passed in as the freq argument.

Co-authored-by: Garrett Cox <garrettjcox@gmail.com>
This commit is contained in:
PurpleHato
2024-05-22 09:05:01 -05:00
committed by Garrett Cox
co-authored by Garrett Cox
parent 3b1d8dd1d0
commit 78f3a456a7
+1
View File
@@ -340,6 +340,7 @@ u32 __osProbeTLB(void* param_1) {
void func_801A31EC(u16 seqId, s8 arg1, u8 arg2) {
}
s32 osAiSetFrequency(u32 frequency) {
return 1;
}
s32 osContStartQuery(OSMesgQueue* mq) {
}