Use CFGI instead of PS

Now we can get rid of initalzing the PS service.
This commit is contained in:
Joel16 2017-12-11 15:52:17 -06:00
parent fb02508df6
commit 14953e30c9
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,7 @@
#include "fs.h"
//test from gedit.
Result openArchive(FS_Archive * archive, FS_ArchiveID id)
{
return FSUSER_OpenArchive(archive, id, fsMakePath(PATH_EMPTY, ""));
@ -48,4 +50,4 @@ bool dirExists(FS_Archive archive, const char * path)
return false;
return true;
}
}

View File

@ -28,7 +28,6 @@ void initServices()
mcuInit();
amInit();
amAppInit();
psInit();
aptInit();
hidInit();
acGetServiceHandle();
@ -56,7 +55,6 @@ void termServices()
actExit();
hidExit();
aptExit();
psExit();
acExit();
acCloseServiceHandle();
amExit();
@ -287,4 +285,4 @@ int main(int argc, char *argv[])
termServices();
return 0;
}
}

View File

@ -209,7 +209,7 @@ u64 getLocalFriendCodeSeed(void)
{
u64 seed = 0;
if (R_SUCCEEDED(PS_GetLocalFriendCodeSeed(&seed)))
if (R_SUCCEEDED(CFGI_GetLocalFriendCodeSeed(&seed)))
return seed;
return 0;
@ -233,4 +233,4 @@ u64 getSoapId(void)
return (id | (((u64) 4) << 32));
return 0;
}
}