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 DebugEnhancer (#1)
  • Loading branch information
zhen-zen authored Sep 6, 2021
1 parent 2d3dc90 commit fb9080a
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 @@
HibernationFixup Changelog
============================
#### v1.4.3
- Use method routeMultipleLong instead of routeMultiple in order to avoid conflict with DebugEnhancer

#### v1.4.2
- Use method routeMultipleLong instead of routeMultiple in order to avoid conflict with future versions of CpuTscSync

Expand Down
2 changes: 1 addition & 1 deletion HibernationFixup/kern_hbfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ void HBFX::processKernel(KernelPatcher &patcher)

if (nvram_patches_required) {
KernelPatcher::RouteRequest request {"_IOHibernateSystemSleep", IOHibernateSystemSleep, orgIOHibernateSystemSleep};
if (!patcher.routeMultiple(KernelPatcher::KernelID, &request, 1)) {
if (!patcher.routeMultipleLong(KernelPatcher::KernelID, &request, 1)) {
SYSLOG("HBFX", "patcher.routeMultiple for %s is failed with error %d", request.symbol, patcher.getError());
patcher.clearError();
}
Expand Down

0 comments on commit fb9080a

Please sign in to comment.