From 6623c87d0b7f6bae2ac16991aea53551899481b9 Mon Sep 17 00:00:00 2001 From: ds-sloth <72112344+ds-sloth@users.noreply.github.com> Date: Tue, 24 Oct 2023 19:09:53 -0400 Subject: [PATCH] SDL_n3dsaudio.c - don't risk leaving current_priority uninitialized --- 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 12ebb843f..a72e364d5 100644 --- a/src/audio/n3ds/SDL_n3dsaudio.c +++ b/src/audio/n3ds/SDL_n3dsaudio.c @@ -246,7 +246,7 @@ static void N3DSAUDIO_CloseDevice(_THIS) static void N3DSAUDIO_ThreadInit(_THIS) { - s32 current_priority; + s32 current_priority = 0x30; svcGetThreadPriority(¤t_priority, CUR_THREAD_HANDLE); current_priority--; /* 0x18 is reserved for video, 0x30 is the default for main thread */