mirror of
https://github.com/joel16/3DSident.git
synced 2024-11-23 03:29:45 +00:00
Use CFGI instead of PS
Now we can get rid of initalzing the PS service.
This commit is contained in:
parent
fb02508df6
commit
14953e30c9
@ -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, ""));
|
||||
|
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user