| 14 | static int ndmuRefCount; |
| 15 | |
| 16 | Result ndmuInit(void) |
| 17 | { |
| 18 | Result ret=0; |
| 19 | |
| 20 | if (AtomicPostIncrement(&ndmuRefCount)) return 0; |
| 21 | |
| 22 | ret = srvGetServiceHandle(&ndmuHandle, "ndm:u"); |
| 23 | if (R_FAILED(ret)) AtomicDecrement(&ndmuRefCount); |
| 24 | |
| 25 | return ret; |
| 26 | } |
| 27 | |
| 28 | void ndmuExit(void) |
| 29 | { |
no test coverage detected