From af051c83019a6666d6c9119e16910561befd9a25 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 14 Apr 2020 02:09:01 -0700 Subject: [PATCH] fsp-pr: SetEnabledProgramVerification removed in 10.0.0 --- nx/source/services/fspr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nx/source/services/fspr.c b/nx/source/services/fspr.c index b7cd28b9..5dce125d 100644 --- a/nx/source/services/fspr.c +++ b/nx/source/services/fspr.c @@ -78,6 +78,9 @@ Result fsprSetCurrentProcess(void) { } Result fsprSetEnabledProgramVerification(bool enabled) { + if(hosversionAtLeast(10,0,0)) + return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer); + const u8 in = enabled != 0; serviceAssumeDomain(&g_fsprSrv); return serviceDispatchIn(&g_fsprSrv, 256, in);