From e05afee653e1bb71c4612fc009eb7f9be4ebfc25 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sat, 7 Mar 2020 03:39:13 -0800 Subject: [PATCH] use hosversionBetween --- nx/source/services/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/source/services/fs.c b/nx/source/services/fs.c index 94612b74..ebeef80f 100644 --- a/nx/source/services/fs.c +++ b/nx/source/services/fs.c @@ -403,7 +403,7 @@ Result fsOpenSdCardDetectionEventNotifier(FsEventNotifier* out) { } Result fsIsSignedSystemPartitionOnSdCardValid(bool *out) { - if (hosversionBefore(4,0,0) || hosversionAtLeast(8,0,0)) + if (!hosversionBetween(4, 8)) return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer); return _fsCmdNoInOutBool(&g_fsSrv, out, 640);