diff --git a/Core/HLE/sceAudio.cpp b/Core/HLE/sceAudio.cpp index a2ea98a116..42504d4e28 100644 --- a/Core/HLE/sceAudio.cpp +++ b/Core/HLE/sceAudio.cpp @@ -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", 'i', "xxx" }, {0X086E5895, &WrapI_UUU, "sceAudioInputBlocking", 'i', "xxx" }, {0XA708C6A6, &WrapI_V, "sceAudioGetInputLength", 'i', "" }, - {0XA633048E, nullptr, "sceAudioPollInputEnd", '?', "" }, - {0X87B2E651, nullptr, "sceAudioWaitInputEnd", '?', "" }, + {0XA633048E, &WrapI_V, "sceAudioPollInputEnd", 'i', "" }, + {0X87B2E651, &WrapI_V, "sceAudioWaitInputEnd", 'i', "" }, {0X36FD8AA9, &WrapU_U, "sceAudioRoutingSetMode", 'x', "x" }, {0X39240E7D, &WrapU_V, "sceAudioRoutingGetMode", 'x', "" },