Skip to content

Commit

Permalink
fix(hwlibs): Add missing return true for HWServices
Browse files Browse the repository at this point in the history
  • Loading branch information
VisualEhrmanntraut committed Oct 21, 2024
1 parent cfaaff1 commit f07465f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion NootRX/HWLibs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ bool HWLibs::processKext(KernelPatcher &patcher, size_t id, mach_vm_address_t sl
RouteRequestPlus request {"__ZN38AMDRadeonX6000_AMDRadeonHWServicesNavi16getMatchPropertyEv",
wrapGetMatchProperty};
PANIC_COND(!request.route(patcher, id, slide, size), "HWServices", "Failed to route getMatchProperty");
} else if ((kextRadeonX6810HWLibs.loadIndex == id) || (kextRadeonX6800HWLibs.loadIndex == id)) {

return true;
}

if (kextRadeonX6810HWLibs.loadIndex == id || kextRadeonX6800HWLibs.loadIndex == id) {
NootRXMain::callback->ensureRMMIO();

CAILAsicCapsEntry *orgCapsTable = nullptr;
Expand Down

0 comments on commit f07465f

Please sign in to comment.