mirror of
https://github.com/drakmor/ShadowMountPlus.git
synced 2026-10-21 14:12:29 -05:00
22 lines
775 B
C
22 lines
775 B
C
#ifndef SM_SHELLCORE_HOOKS_H
|
|
#define SM_SHELLCORE_HOOKS_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
// Install/remove the fail-open SceShellCore lifecycle bridge.
|
|
bool sm_shellcore_hooks_start(void);
|
|
void sm_shellcore_hooks_stop(void);
|
|
// Return whether the post-onAppExit lifecycle hook is installed.
|
|
bool sm_shellcore_app_exit_hook_active(void);
|
|
|
|
// Return whether this firmware uses the internal TitleDir bridge.
|
|
bool sm_shellcore_install_bridge_enabled(void);
|
|
|
|
// Invoke the internal TitleDir path through one armed AppInstallAll dispatch.
|
|
// Returns false when the bridge is unavailable or was not consumed.
|
|
bool sm_shellcore_install_title_dir(const char *title_id,
|
|
const char *install_dir,
|
|
int *result_out);
|
|
|
|
#endif
|