mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Fixed minimum required sysver for capssu.
This commit is contained in:
parent
e02b6c167a
commit
16cbf1c9f6
@ -9,7 +9,7 @@
|
||||
#include "../services/sm.h"
|
||||
#include "../services/caps.h"
|
||||
|
||||
/// Initialize caps:su. Only available on 6.0.0+.
|
||||
/// Initialize caps:su. Only available on 4.0.0+.
|
||||
Result capssuInitialize(void);
|
||||
void capssuExit(void);
|
||||
|
||||
|
@ -20,7 +20,7 @@ Result capssuInitialize(void) {
|
||||
if (serviceIsActive(&g_capssuSrv))
|
||||
return 0;
|
||||
|
||||
if (!kernelAbove600())
|
||||
if (!kernelAbove400())
|
||||
rc = MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
|
||||
if (R_SUCCEEDED(rc)) rc = smGetService(&g_capssuSrv, "caps:su");
|
||||
|
Loading…
Reference in New Issue
Block a user