SDL_n3dsaudio.c - don't risk leaving current_priority uninitialized

This commit is contained in:
ds-sloth authored and Sam Lantinga committed 2023-10-24 16:42:44 -07:00
1 parent 070f57820f
commit 6623c87d0b
1 file changed
+1 -1
+1 -1
View File
@@ -246,7 +246,7 @@ static void N3DSAUDIO_CloseDevice(_THIS)
static void N3DSAUDIO_ThreadInit(_THIS)
{
s32 current_priority;
s32 current_priority = 0x30;
svcGetThreadPriority(&current_priority, CUR_THREAD_HANDLE);
current_priority--;
/* 0x18 is reserved for video, 0x30 is the default for main thread */