From 3d1a28ccf2b8e821449d28ca646de054e32b7a0e Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Wed, 30 Jul 2025 21:06:13 +0200 Subject: [PATCH] psp: fix audio not playing --- src/audio/psp/SDL_pspaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/psp/SDL_pspaudio.c b/src/audio/psp/SDL_pspaudio.c index 18546e88fc..1b095e97f2 100644 --- a/src/audio/psp/SDL_pspaudio.c +++ b/src/audio/psp/SDL_pspaudio.c @@ -114,7 +114,7 @@ static bool PSPAUDIO_PlayDevice(SDL_AudioDevice *device, const Uint8 *buffer, in } else { rc = sceAudioOutputPannedBlocking(device->hidden->channel, PSP_AUDIO_VOLUME_MAX, PSP_AUDIO_VOLUME_MAX, (void *) buffer); } - return (rc == 0); + return (rc >= 0); } static bool PSPAUDIO_WaitDevice(SDL_AudioDevice *device)