mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 11:45:33 +00:00
SDL_n3dsaudio.c - don't risk leaving current_priority uninitialized
This commit is contained in:
parent
070f57820f
commit
6623c87d0b
|
@ -246,7 +246,7 @@ static void N3DSAUDIO_CloseDevice(_THIS)
|
||||||
|
|
||||||
static void N3DSAUDIO_ThreadInit(_THIS)
|
static void N3DSAUDIO_ThreadInit(_THIS)
|
||||||
{
|
{
|
||||||
s32 current_priority;
|
s32 current_priority = 0x30;
|
||||||
svcGetThreadPriority(¤t_priority, CUR_THREAD_HANDLE);
|
svcGetThreadPriority(¤t_priority, CUR_THREAD_HANDLE);
|
||||||
current_priority--;
|
current_priority--;
|
||||||
/* 0x18 is reserved for video, 0x30 is the default for main thread */
|
/* 0x18 is reserved for video, 0x30 is the default for main thread */
|
||||||
|
|
Loading…
Reference in a new issue