From b385dc3b68b4b6ba1a28c6a8e7349b0271e17b98 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 30 Aug 2023 19:53:54 -0400 Subject: [PATCH] n3dsaudio: Patched to compile. --- src/audio/n3ds/SDL_n3dsaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/n3ds/SDL_n3dsaudio.c b/src/audio/n3ds/SDL_n3dsaudio.c index e5f4bad8cf..7bb961d077 100644 --- a/src/audio/n3ds/SDL_n3dsaudio.c +++ b/src/audio/n3ds/SDL_n3dsaudio.c @@ -185,7 +185,7 @@ static int N3DSAUDIO_PlayDevice(SDL_AudioDevice *device, const Uint8 *buffer, in if (device->hidden->isCancelled || device->hidden->waveBuf[nextbuf].status != NDSP_WBUF_FREE) { contextUnlock(device); - return; + return 0; // !!! FIXME: is this a fatal error? If so, this should return -1. } device->hidden->nextbuf = (nextbuf + 1) % NUM_BUFFERS;