mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 21:02:39 +02:00
Fixed nifm not initializing properly for < 3.0.0
This commit is contained in:
parent
866202feb7
commit
d91c315f77
@ -25,7 +25,7 @@ Result nifmInitialize(void) {
|
|||||||
rc = smGetService(&g_nifmSrv, "nifm:u");
|
rc = smGetService(&g_nifmSrv, "nifm:u");
|
||||||
|
|
||||||
if (R_SUCCEEDED(rc)) {
|
if (R_SUCCEEDED(rc)) {
|
||||||
if (kernelAbove200())
|
if (kernelAbove300())
|
||||||
rc = _nifmCreateGeneralService(&g_nifmIGS, 0); // What does this parameter do?
|
rc = _nifmCreateGeneralService(&g_nifmIGS, 0); // What does this parameter do?
|
||||||
else
|
else
|
||||||
rc = _nifmCreateGeneralServiceOld(&g_nifmIGS);
|
rc = _nifmCreateGeneralServiceOld(&g_nifmIGS);
|
||||||
|
Loading…
Reference in New Issue
Block a user