This commit is contained in:
AdamN 2024-04-20 12:41:27 +07:00 committed by GitHub
parent 1cf7254cb0
commit bbe2c341ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -492,13 +492,23 @@ static int sceAudioInput(u32 maxSamples, u32 sampleRate, u32 bufAddr) {
return __MicInput(maxSamples, sampleRate, bufAddr, AUDIOINPUT, false);
}
static int sceAudioInputInit(s32 unknown1, s32 gain, s32 unknown2) {
static int sceAudioInputInit(int unknown1, int gain, int unknown2) {
ERROR_LOG(HLE, "UNIMPL sceAudioInputInit: unknown1: %d, gain: %d, unknown2: %d", unknown1, gain, unknown2);
return 0;
}
static int sceAudioInputInitEx(u32 pspAudioInputParamsAddr) {
ERROR_LOG(HLE, "UNIMPL sceAudioInputInitEx: pspAudioInputParamsAddr: %08x", pspAudioInputParamsAddr);
static int sceAudioInputInitEx(u32 paramAddr) {
ERROR_LOG(HLE, "UNIMPL sceAudioInputInitEx: paramAddr: %08x", paramAddr);
return 0;
}
static int sceAudioPollInputEnd() {
ERROR_LOG(HLE, "UNIMPL sceAudioPollInputEnd");
return 0;
}
static int sceAudioWaitInputEnd() {
ERROR_LOG(HLE, "UNIMPL sceAudioWaitInputEnd");
return 0;
}
@ -574,8 +584,8 @@ const HLEFunction sceAudio[] =
{0X6D4BEC68, &WrapI_UUU<sceAudioInput>, "sceAudioInput", 'i', "xxx" },
{0X086E5895, &WrapI_UUU<sceAudioInputBlocking>, "sceAudioInputBlocking", 'i', "xxx" },
{0XA708C6A6, &WrapI_V<sceAudioGetInputLength>, "sceAudioGetInputLength", 'i', "" },
{0XA633048E, nullptr, "sceAudioPollInputEnd", '?', "" },
{0X87B2E651, nullptr, "sceAudioWaitInputEnd", '?', "" },
{0XA633048E, &WrapI_V<sceAudioPollInputEnd>, "sceAudioPollInputEnd", 'i', "" },
{0X87B2E651, &WrapI_V<sceAudioWaitInputEnd>, "sceAudioWaitInputEnd", 'i', "" },
{0X36FD8AA9, &WrapU_U<sceAudioRoutingSetMode>, "sceAudioRoutingSetMode", 'x', "x" },
{0X39240E7D, &WrapU_V<sceAudioRoutingGetMode>, "sceAudioRoutingGetMode", 'x', "" },