mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-17 10:19:27 +01:00
add _SYSLaunchMenuWithCheckingAccount and SYSLaunchSettings
This commit is contained in:
parent
ac995a77c0
commit
e2482f9e32
@ -113,7 +113,6 @@ typedef enum OSExceptionType
|
||||
OS_EXCEPTION_TYPE_ICI = 14,
|
||||
} OSExceptionType;
|
||||
|
||||
|
||||
typedef int (*ThreadFunc)(int argc, void *argv);
|
||||
|
||||
struct OSThread_ {
|
||||
@ -129,12 +128,12 @@ struct OSThread_ {
|
||||
|
||||
char _[0x394 - 0x330];
|
||||
|
||||
void *stackBase;
|
||||
void *stackEnd;
|
||||
void *stackBase;
|
||||
void *stackEnd;
|
||||
|
||||
ThreadFunc entryPoint;
|
||||
ThreadFunc entryPoint;
|
||||
|
||||
char _3A0[0x6A0 - 0x3A0];
|
||||
char _3A0[0x6A0 - 0x3A0];
|
||||
};
|
||||
|
||||
typedef struct _OSCalendarTime {
|
||||
|
@ -28,8 +28,10 @@ u32 sysapp_handle __attribute__((section(".data"))) = 0;
|
||||
EXPORT_DECL(s32, _SYSLaunchTitleByPathFromLauncher, const char* path, s32 len, s32 zero);
|
||||
EXPORT_DECL(s32, SYSRelaunchTitle, s32 argc, char** argv);
|
||||
EXPORT_DECL(s32, SYSLaunchMenu, void);
|
||||
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);
|
||||
|
||||
void InitAcquireSys(void)
|
||||
{
|
||||
@ -44,6 +46,8 @@ void InitSysFunctionPointers(void)
|
||||
OS_FIND_EXPORT(sysapp_handle, _SYSLaunchTitleByPathFromLauncher);
|
||||
OS_FIND_EXPORT(sysapp_handle, SYSRelaunchTitle);
|
||||
OS_FIND_EXPORT(sysapp_handle, SYSLaunchMenu);
|
||||
OS_FIND_EXPORT(sysapp_handle, _SYSLaunchMenuWithCheckingAccount);
|
||||
OS_FIND_EXPORT(sysapp_handle, SYSCheckTitleExists);
|
||||
OS_FIND_EXPORT(sysapp_handle, SYSLaunchTitle);
|
||||
OS_FIND_EXPORT(sysapp_handle, SYSLaunchSettings);
|
||||
}
|
||||
|
@ -38,8 +38,10 @@ void InitAcquireSys(void);
|
||||
extern int(*_SYSLaunchTitleByPathFromLauncher)(const char* path, s32 len, s32 zero);
|
||||
extern int (* SYSRelaunchTitle)(s32 argc, char** argv);
|
||||
extern int (* SYSLaunchMenu)(void);
|
||||
extern int (* _SYSLaunchMenuWithCheckingAccount)(unsigned char slot);
|
||||
extern int (* SYSCheckTitleExists)(u64 titleId);
|
||||
extern int (* SYSLaunchTitle)(u64 titleId);
|
||||
extern int (* SYSLaunchSettings)(s32 unk);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user