Skip to content

Commit eee2846

Browse files
committed
ker_start: Don’t patch CC when requested
1 parent 0c2bf5b commit eee2846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FeatureUnlock/kern_start.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ static void patched_cs_validate_page(vnode_t vp, memory_object_t pager, memory_o
325325
}
326326
}
327327
}
328-
if (!has_applied_cc_app_patch && host_needs_airplay_to_mac_vmm_patch) {
328+
if (!disable_sidecar_mac && !has_applied_cc_app_patch && host_needs_airplay_to_mac_vmm_patch) {
329329
if (UNLIKELY(strcmp(path, controlCenterPath) == 0)) {
330330
patch_result = searchAndPatch(data, PAGE_SIZE, path, kGenericVmmOriginal, kGenericVmmPatched, "Control Center (app)", false);
331331
if (patch_result) {

0 commit comments

Comments
 (0)