mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-22 20:39:16 +01:00
added launch title
This commit is contained in:
parent
2d9aadeb21
commit
aecfb5a1e8
@ -25,10 +25,11 @@
|
|||||||
|
|
||||||
unsigned int sysapp_handle __attribute__((section(".data"))) = 0;
|
unsigned int sysapp_handle __attribute__((section(".data"))) = 0;
|
||||||
|
|
||||||
EXPORT_DECL(void, _SYSLaunchTitleByPathFromLauncher, const char* path, int len, int zero);
|
EXPORT_DECL(int, _SYSLaunchTitleByPathFromLauncher, const char* path, int len, int zero);
|
||||||
EXPORT_DECL(int, SYSRelaunchTitle, int argc, char** argv);
|
EXPORT_DECL(int, SYSRelaunchTitle, int argc, char** argv);
|
||||||
EXPORT_DECL(int, SYSLaunchMenu, void);
|
EXPORT_DECL(int, SYSLaunchMenu, void);
|
||||||
EXPORT_DECL(int, SYSCheckTitleExists, u64 titleId);
|
EXPORT_DECL(int, SYSCheckTitleExists, u64 titleId);
|
||||||
|
EXPORT_DECL(int, SYSLaunchTitle, u64 titleId);
|
||||||
|
|
||||||
void InitAcquireSys(void)
|
void InitAcquireSys(void)
|
||||||
{
|
{
|
||||||
@ -44,5 +45,6 @@ void InitSysFunctionPointers(void)
|
|||||||
OS_FIND_EXPORT(sysapp_handle, SYSRelaunchTitle);
|
OS_FIND_EXPORT(sysapp_handle, SYSRelaunchTitle);
|
||||||
OS_FIND_EXPORT(sysapp_handle, SYSLaunchMenu);
|
OS_FIND_EXPORT(sysapp_handle, SYSLaunchMenu);
|
||||||
OS_FIND_EXPORT(sysapp_handle, SYSCheckTitleExists);
|
OS_FIND_EXPORT(sysapp_handle, SYSCheckTitleExists);
|
||||||
|
OS_FIND_EXPORT(sysapp_handle, SYSLaunchTitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,10 +33,11 @@ extern unsigned int sysapp_handle;
|
|||||||
void InitSysFunctionPointers(void);
|
void InitSysFunctionPointers(void);
|
||||||
void InitAcquireSys(void);
|
void InitAcquireSys(void);
|
||||||
|
|
||||||
extern void(*_SYSLaunchTitleByPathFromLauncher)(const char* path, int len, int zero);
|
extern int(*_SYSLaunchTitleByPathFromLauncher)(const char* path, int len, int zero);
|
||||||
extern int (* SYSRelaunchTitle)(int argc, char** argv);
|
extern int (* SYSRelaunchTitle)(int argc, char** argv);
|
||||||
extern int (* SYSLaunchMenu)(void);
|
extern int (* SYSLaunchMenu)(void);
|
||||||
extern int (* SYSCheckTitleExists)(u64 titleId);
|
extern int (* SYSCheckTitleExists)(u64 titleId);
|
||||||
|
extern int (* SYSLaunchTitle)(u64 titleId);
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user