From ac995a77c048efb69adf67d9da94190001fa6173 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 16 Sep 2017 23:44:26 +0200 Subject: [PATCH] add nn_act_GetDefaultAccount --- nn_act_functions.c | 8 +++++--- nn_act_functions.h | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nn_act_functions.c b/nn_act_functions.c index 5c2a959..f51b8c9 100644 --- a/nn_act_functions.c +++ b/nn_act_functions.c @@ -29,6 +29,7 @@ u32 nn_act_handle __attribute__((section(".data"))) = 0; EXPORT_DECL(void, nn_act_Initialize, void); EXPORT_DECL(void, nn_act_Finalize, void); EXPORT_DECL(u8, nn_act_GetSlotNo, void); +EXPORT_DECL(u8, nn_act_GetDefaultAccount, void); EXPORT_DECL(u32, nn_act_GetPersistentIdEx, u8 slot); void InitAcquireACT(void) @@ -42,7 +43,8 @@ void InitACTFunctionPointers(void) InitAcquireACT(); OS_FIND_EXPORT_EX(nn_act_handle, Initialize__Q2_2nn3actFv, nn_act_Initialize) - OS_FIND_EXPORT_EX(nn_act_handle, Finalize__Q2_2nn3actFv, nn_act_Finalize) - OS_FIND_EXPORT_EX(nn_act_handle, GetSlotNo__Q2_2nn3actFv, nn_act_GetSlotNo) - OS_FIND_EXPORT_EX(nn_act_handle, GetPersistentIdEx__Q2_2nn3actFUc, nn_act_GetPersistentIdEx) + OS_FIND_EXPORT_EX(nn_act_handle, Finalize__Q2_2nn3actFv, nn_act_Finalize) + OS_FIND_EXPORT_EX(nn_act_handle, GetSlotNo__Q2_2nn3actFv, nn_act_GetSlotNo) + OS_FIND_EXPORT_EX(nn_act_handle, GetDefaultAccount__Q2_2nn3actFv, nn_act_GetDefaultAccount) + OS_FIND_EXPORT_EX(nn_act_handle, GetPersistentIdEx__Q2_2nn3actFUc, nn_act_GetPersistentIdEx) } diff --git a/nn_act_functions.h b/nn_act_functions.h index 9567bf7..a3cc26c 100644 --- a/nn_act_functions.h +++ b/nn_act_functions.h @@ -35,6 +35,7 @@ extern u32 nn_act_handle; extern void(* nn_act_Initialize)(void); extern void(* nn_act_Finalize)(void); extern u8(* nn_act_GetSlotNo)(void); +extern u8(* nn_act_GetDefaultAccount)(void); extern u32(*nn_act_GetPersistentIdEx)(u8 slot); void InitACTFunctionPointers(void);