Merge pull request #9896 from m4tsa/update-libnx

fix breaking changes from the 3.0.0 libnx release
This commit is contained in:
hizzlekizzle 2020-01-14 08:32:47 -06:00 committed by GitHub
commit 9b2752ff07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ typedef Thread compat_thread;
typedef CondVar compat_condvar;
#define compat_thread_create(thread, func, data, stack_size, prio, cpu) \
threadCreate(thread, func, data, stack_size, prio, cpu)
threadCreate(thread, func, data, NULL, stack_size, prio, cpu)
#define compat_thread_start(thread) \
threadStart(thread)
#define compat_thread_join(thread) \

View File

@ -232,7 +232,7 @@ static void *libnx_audren_thread_audio_init(const char *device, unsigned rate, u
svcGetThreadPriority(&thread_priority, CUR_THREAD_HANDLE);
rc = threadCreate(&aud->thread, &thread_job,
(void*)aud, thread_stack_size,
(void*)aud, NULL, thread_stack_size,
thread_priority - 1, thread_preferred_cpu);
if (R_FAILED(rc))
{

View File

@ -691,7 +691,7 @@ static void frontend_switch_init(void *data)
uint32_t width = 0;
uint32_t height = 0;
nifmInitialize();
nifmInitialize(NifmServiceType_User);
if(hosversionBefore(8, 0, 0))
pcvInitialize();