Skip to content

Commit

Permalink
y Mod 1.3
Browse files Browse the repository at this point in the history
added support for Home Menu Homebrew Launcher
  • Loading branch information
Yardape committed Nov 20, 2016
2 parents 9fc07af + 69e78f7 commit e696493
Show file tree
Hide file tree
Showing 6 changed files with 189 additions and 160 deletions.
2 changes: 1 addition & 1 deletion src/dynamic_libs/os_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ EXPORT_DECL(int, OSTryLockMutex, void* mutex);
EXPORT_DECL(u64, OSGetTitleID, void);
EXPORT_DECL(int, OSGetPFID, void);
EXPORT_DECL(void, OSShutdown, void);
EXPORT_DECL(void, __Exit, void);
EXPORT_DECL(void, __Exit, int);
EXPORT_DECL(void, OSFatal, const char* msg);
EXPORT_DECL(void, OSSetExceptionCallback, u8 exceptionType, exception_callback newCallback);
EXPORT_DECL(void, DCFlushRange, const void *addr, u32 length);
Expand Down
2 changes: 1 addition & 1 deletion src/dynamic_libs/os_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ extern int (* OSTryLockMutex)(void* mutex);
extern u64 (* OSGetTitleID)(void);
extern int (* OSGetPFID)(void);
extern void (* OSShutdown)(void);
extern void (* __Exit)(void);
extern void (* __Exit)(int);
extern void (* OSFatal)(const char* msg);
extern void (* DCFlushRange)(const void *addr, u32 length);
extern void (* DCInvalidateRange)(const void *addr, u32 length);
Expand Down
2 changes: 2 additions & 0 deletions src/dynamic_libs/sys_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ EXPORT_DECL(void, _SYSLaunchTitleByPathFromLauncher, const char* path, int len,
EXPORT_DECL(int, SYSRelaunchTitle, int argc, char* argv);
EXPORT_DECL(int, SYSLaunchMenu, void);
EXPORT_DECL(int, SYSLaunchMiiStudio, void *);
EXPORT_DECL(int, SYSLaunchTitle, u64 titleId);

void InitSysFunctionPointers(void)
{
Expand All @@ -38,5 +39,6 @@ void InitSysFunctionPointers(void)
OS_FIND_EXPORT(sysapp_handle, SYSRelaunchTitle);
OS_FIND_EXPORT(sysapp_handle, SYSLaunchMenu);
OS_FIND_EXPORT(sysapp_handle, SYSLaunchMiiStudio);
OS_FIND_EXPORT(sysapp_handle, SYSLaunchTitle);
}

2 changes: 1 addition & 1 deletion src/dynamic_libs/sys_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ extern void(*_SYSLaunchTitleByPathFromLauncher)(const char* path, int len, int z
extern int (* SYSRelaunchTitle)(int argc, char* argv);
extern int (* SYSLaunchMenu)(void);
extern int (* SYSLaunchMiiStudio)(void *arg);

extern int (* SYSLaunchTitle)(u64 titleId);

#ifdef __cplusplus
}
Expand Down
Loading

0 comments on commit e696493

Please sign in to comment.