Add the function _SYSGetSystemApplicationTitleId

This commit is contained in:
Maschell 2018-10-23 13:55:11 +02:00
parent 520882cd7a
commit 3f3740b043
2 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,7 @@ EXPORT_DECL(s32, _SYSLaunchMenuWithCheckingAccount, unsigned char slot);
EXPORT_DECL(s32, SYSCheckTitleExists, u64 titleId);
EXPORT_DECL(s32, SYSLaunchTitle, u64 titleId);
EXPORT_DECL(s32, SYSLaunchSettings, s32 unk);
EXPORT_DECL(u64, _SYSGetSystemApplicationTitleId, s32);
void InitAcquireSys(void) {
if(coreinit_handle == 0) {
@ -51,4 +52,5 @@ void InitSysFunctionPointers(void) {
OS_FIND_EXPORT(sysapp_handle, SYSCheckTitleExists);
OS_FIND_EXPORT(sysapp_handle, SYSLaunchTitle);
OS_FIND_EXPORT(sysapp_handle, SYSLaunchSettings);
OS_FIND_EXPORT(sysapp_handle, _SYSGetSystemApplicationTitleId);
}

View File

@ -42,6 +42,7 @@ extern s32 (* _SYSLaunchMenuWithCheckingAccount)(unsigned char slot);
extern s32 (* SYSCheckTitleExists)(u64 titleId);
extern s32 (* SYSLaunchTitle)(u64 titleId);
extern s32 (* SYSLaunchSettings)(s32 unk);
extern u64 (*_SYSGetSystemApplicationTitleId)(s32 sysApp);
#ifdef __cplusplus