Skip to content

Commit

Permalink
Fix wrong symbol for SMU firmware neutralisation for Catalina
Browse files Browse the repository at this point in the history
Signed-off-by: Visual Ehrmanntraut <[email protected]>
  • Loading branch information
VisualEhrmanntraut committed Sep 6, 2023
1 parent 52d40e1 commit ed9bb0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NootedRed/kern_hwlibs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ bool X5000HWLibs::processKext(KernelPatcher &patcher, size_t id, mach_vm_address
RouteRequestPlus requests[] = {
{"__ZN35AMDRadeonX5000_AMDRadeonHWLibsX500025populateFirmwareDirectoryEv", wrapPopulateFirmwareDirectory,
this->orgPopulateFirmwareDirectory, !catalina},
{catalina ? "_smu_get_external_fw" : "_smu_get_fw_constants", hwLibsNoop, kSmuGetFwConstantsPattern,
{catalina ? "_smu_9_0_1_get_fw_constants" : "_smu_get_fw_constants", hwLibsNoop, kSmuGetFwConstantsPattern,
kSmuGetFwConstantsMask},
{"_smu_9_0_1_check_fw_status", hwLibsNoop, kSmu901CheckFwStatusPattern, kSmu901CheckFwStatusMask},
{"_smu_9_0_1_unload_smu", hwLibsNoop, kSmu901UnloadSmuPattern, kSmu901UnloadSmuMask},
Expand Down

0 comments on commit ed9bb0a

Please sign in to comment.