mirror of
https://github.com/drakmor/ShadowMountPlus.git
synced 2026-10-21 22:22:28 -05:00
Restore lost ShellCore hooks after resume and before registration
Validate the existing bridge and original target bytes before repairing lost hooks in a stopped ShellCore. Retain rollback ownership on partial failures, support process replacement, and disable recovery when stopping. Check once after resume and on registration without adding polling or scanner deadlines. Refs #145, #147; adapts the recovery approaches from PR #148 and #126.
This commit is contained in:
1 parent
451bddba6b
commit
fc916ad5fd
3 files changed
+199
-76
No files matched your search
@@ -7,6 +7,9 @@
|
||||
bool sm_shellcore_hooks_start(void);
|
||||
void sm_shellcore_hooks_stop(void);
|
||||
|
||||
// Check/repair previously installed hooks; disabled hooks remain disabled.
|
||||
bool sm_shellcore_hooks_refresh(void);
|
||||
|
||||
// Return whether this firmware uses the internal TitleDir bridge.
|
||||
bool sm_shellcore_install_bridge_enabled(void);
|
||||
|
||||
|
||||
Reference in new issue
Block a user