psp: fix audio not playing

(cherry picked from commit 3d1a28ccf2)
This commit is contained in:
Wouter Wijsman authored and Sam Lantinga committed 2025-07-30 13:11:23 -07:00
1 parent 106af5b46a
commit f0e85a2a9c
1 file changed
+1 -1
+1 -1
View File
@@ -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)