diff options
Diffstat (limited to 'source/nx/set_ext.c')
-rw-r--r-- | source/nx/set_ext.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source/nx/set_ext.c b/source/nx/set_ext.c deleted file mode 100644 index 2ccef6c..0000000 --- a/source/nx/set_ext.c +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | #include "set_ext.h" | ||
2 | |||
3 | #include "../service_guard.h" | ||
4 | |||
5 | #include <switch/services/sm.h> | ||
6 | #include <switch/types.h> | ||
7 | |||
8 | static Service g_setcalSrv; | ||
9 | |||
10 | NX_GENERATE_SERVICE_GUARD(setcal); | ||
11 | |||
12 | Result _setcalInitialize() { | ||
13 | return smGetService(&g_setcalSrv, "set:cal"); | ||
14 | } | ||
15 | |||
16 | void _setcalCleanup() { | ||
17 | serviceClose(&g_setcalSrv); | ||
18 | } | ||
19 | |||
20 | Result setcalGetEticketDeviceKey(void *key) | ||
21 | { | ||
22 | return serviceDispatch(&g_setcalSrv, 21, | ||
23 | .buffer_attrs = { SfBufferAttr_HipcMapAlias | SfBufferAttr_Out }, | ||
24 | .buffers = { { key, 0x244 } }, | ||
25 | ); | ||
26 | } \ No newline at end of file | ||