From c8cfa6de44fe39a92bbb79838dca70c19e17f1b6 Mon Sep 17 00:00:00 2001 From: Joel16 Date: Sun, 7 Jan 2018 12:02:22 -0600 Subject: [PATCH] Fix ndmu_* functions in uds.c --- libctru/source/services/uds.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libctru/source/services/uds.c b/libctru/source/services/uds.c index 2611337..7f292d9 100644 --- a/libctru/source/services/uds.c +++ b/libctru/source/services/uds.c @@ -55,7 +55,7 @@ Result udsInit(size_t sharedmem_size, const char *username) if(R_SUCCEEDED(ret)) { ndm_state = 1; - ret = ndmuEnterExclusiveState(EXCLUSIVE_STATE_LOCAL_COMMUNICATIONS); + ret = NDMU_EnterExclusiveState(EXCLUSIVE_STATE_LOCAL_COMMUNICATIONS); if(R_SUCCEEDED(ret)) { ndm_state = 2; @@ -80,7 +80,7 @@ Result udsInit(size_t sharedmem_size, const char *username) { if(ndm_state) { - if(ndm_state==2)ndmuLeaveExclusiveState(); + if(ndm_state==2)NDMU_LeaveExclusiveState(); ndmuExit(); } @@ -111,7 +111,7 @@ void udsExit(void) svcCloseHandle(__uds_connectionstatus_event); __uds_connectionstatus_event = 0; - ndmuLeaveExclusiveState(); + NDMU_LeaveExclusiveState(); ndmuExit(); }