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, ""));

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();

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;