mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
SDL_n3dsaudio.c - don't risk leaving current_priority uninitialized
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user