mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-17 19:48:51 +00:00
SDL_n3dsaudio.c - don't risk leaving current_priority uninitialized
(cherry picked from commit 6623c87d0b)
This commit is contained in:
parent
07171be596
commit
1023d8ec84
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ static void N3DSAUDIO_CloseDevice(SDL_AudioDevice *device)
|
|||
|
||||
static void N3DSAUDIO_ThreadInit(SDL_AudioDevice *device)
|
||||
{
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue