Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
anr2me committed Apr 20, 2024
1 parent 1cf7254 commit bbe2c34
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions Core/HLE/sceAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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', "" },
Expand Down

0 comments on commit bbe2c34

Please sign in to comment.