Skip to content

Commit

Permalink
Use method routeMultipleLong instead of routeMultiple in order to avo…
Browse files Browse the repository at this point in the history
…id conflict with HibernationFixup (#1)
  • Loading branch information
zhen-zen authored Sep 6, 2021
1 parent b0d0225 commit de30ba7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
DebugEnhancer Changelog
============================
#### v1.0.4
- Use method routeMultipleLong instead of routeMultiple in order to avoid conflict with HibernationFixup

#### v1.0.3
- Added constants for macOS 12 support

Expand Down
2 changes: 1 addition & 1 deletion DebugEnhancer/kern_dbgenhancer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void DBGENH::processKernel(KernelPatcher &patcher)
{"_hibernate_write_image", hibernate_write_image, org_hibernate_write_image},
{"_IOHibernateSystemSleep", IOHibernateSystemSleep, orgIOHibernateSystemSleep}
};
if (!patcher.routeMultiple(KernelPatcher::KernelID, requests, arrsize(requests)))
if (!patcher.routeMultipleLong(KernelPatcher::KernelID, requests, arrsize(requests)))
SYSLOG("DBGENH", "patcher.routeMultiple for %s is failed with error %d", requests[0].symbol, patcher.getError());
} else
SYSLOG("DBGENH", "Symbol _vprintf cannot be resolved with error %d", patcher.getError());
Expand Down

0 comments on commit de30ba7

Please sign in to comment.