mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 02:22:15 +02:00
use hosversionBetween
This commit is contained in:
parent
19240034a3
commit
e05afee653
@ -403,7 +403,7 @@ Result fsOpenSdCardDetectionEventNotifier(FsEventNotifier* out) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Result fsIsSignedSystemPartitionOnSdCardValid(bool *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 MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||||
|
|
||||||
return _fsCmdNoInOutBool(&g_fsSrv, out, 640);
|
return _fsCmdNoInOutBool(&g_fsSrv, out, 640);
|
||||||
|
Loading…
Reference in New Issue
Block a user