mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
capsc: fix parameter name order
This commit is contained in:
parent
8d27cc04ae
commit
c09396fdba
@ -60,8 +60,8 @@ Result capscRegisterAppletResourceUserId(void) {
|
||||
if (hosversionBefore(2,0,0))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
const struct {
|
||||
u64 AppletResourceUserId;
|
||||
u64 version;
|
||||
u64 AppletResourceUserId;
|
||||
} in = { capsGetShimLibraryVersion(), appletGetAppletResourceUserId() };
|
||||
return serviceDispatchIn(&g_capscSrv, 2011, in);
|
||||
}
|
||||
@ -70,8 +70,8 @@ Result capscUnregisterAppletResourceUserId(void) {
|
||||
if (hosversionBefore(2,0,0))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
const struct {
|
||||
u64 AppletResourceUserId;
|
||||
u64 version;
|
||||
u64 AppletResourceUserId;
|
||||
} in = { capsGetShimLibraryVersion(), appletGetAppletResourceUserId() };
|
||||
return serviceDispatchIn(&g_capscSrv, 2012, in);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user