rename U64_MAX to UINT64_MAX due to libnx changes

This commit is contained in:
Mats A 2020-04-07 13:23:06 +02:00
parent b01aabf7d1
commit 6f5f600f47
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ static ssize_t switch_audio_write(void *data, const void *buf, size_t size)
num = 0; num = 0;
#ifdef HAVE_LIBNX #ifdef HAVE_LIBNX
if (audoutWaitPlayFinish(&swa->current_buffer, &num, U64_MAX) != 0) { } if (audoutWaitPlayFinish(&swa->current_buffer, &num, UINT64_MAX) != 0) { }
#else #else
svcWaitSynchronization(&handle_idx, &swa->event, 1, 33333333); svcWaitSynchronization(&handle_idx, &swa->event, 1, 33333333);
svcResetSignal(swa->event); svcResetSignal(swa->event);

View File

@ -86,7 +86,7 @@ static void mainLoop(void* data)
if (!released_out_buffer) if (!released_out_buffer)
{ {
#ifdef HAVE_LIBNX #ifdef HAVE_LIBNX
rc = audoutWaitPlayFinish(&released_out_buffer, &released_out_count, U64_MAX); rc = audoutWaitPlayFinish(&released_out_buffer, &released_out_count, UINT64_MAX);
#else #else
uint32_t handle_idx = 0; uint32_t handle_idx = 0;
svcWaitSynchronization(&handle_idx, &swa->event, 1, 33333333); svcWaitSynchronization(&handle_idx, &swa->event, 1, 33333333);