mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
BlueToolFixup.patch: Update comments
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
diff --git a/BrcmPatchRAM/BlueToolFixup.cpp b/BrcmPatchRAM/BlueToolFixup.cpp
|
diff --git a/BrcmPatchRAM/BlueToolFixup.cpp b/BrcmPatchRAM/BlueToolFixup.cpp
|
||||||
index a6e3c69..ce39735 100644
|
index a6e3c69..5e8a424 100644
|
||||||
--- a/BrcmPatchRAM/BlueToolFixup.cpp
|
--- a/BrcmPatchRAM/BlueToolFixup.cpp
|
||||||
+++ b/BrcmPatchRAM/BlueToolFixup.cpp
|
+++ b/BrcmPatchRAM/BlueToolFixup.cpp
|
||||||
@@ -48,6 +48,27 @@ bool BlueToolFixup::start(IOService *provider) {
|
@@ -48,6 +48,27 @@ bool BlueToolFixup::start(IOService *provider) {
|
||||||
@@ -7,9 +7,10 @@ index a6e3c69..ce39735 100644
|
|||||||
static const uint8_t kSkipUpdateFilePathPatched[] = "/System/Library/CoreServices/boot.efi";
|
static const uint8_t kSkipUpdateFilePathPatched[] = "/System/Library/CoreServices/boot.efi";
|
||||||
|
|
||||||
+
|
+
|
||||||
+// Workaround 12.3 Beta 3+ bug where macOS will detect the Bluetooth chipset twice
|
+// Workaround 12.4 Beta 3+ bug where macOS may detect the Bluetooth chipset twice
|
||||||
+// Once and internal, and second as external dongle:
|
+// Once as internal, and second as an external dongle:
|
||||||
+// 'ERROR -- Third Party Dongle has the same address as the internal module'
|
+// 'ERROR -- Third Party Dongle has the same address as the internal module'
|
||||||
|
+// Applicable for BCM2046 and BCM2070 chipsets (BT2.1)
|
||||||
+static const uint8_t kSkipAddressCheckOriginal[] =
|
+static const uint8_t kSkipAddressCheckOriginal[] =
|
||||||
+{
|
+{
|
||||||
+ 0x48, 0x89, 0xF3, // mov rbx, rsi
|
+ 0x48, 0x89, 0xF3, // mov rbx, rsi
|
||||||
@@ -25,7 +26,6 @@ index a6e3c69..ce39735 100644
|
|||||||
+ 0x85, 0xC0, // test eax, eax
|
+ 0x85, 0xC0, // test eax, eax
|
||||||
+ 0x72, 0x1D, // jb short loc_1000d6804
|
+ 0x72, 0x1D, // jb short loc_1000d6804
|
||||||
+};
|
+};
|
||||||
+
|
|
||||||
+
|
+
|
||||||
static const uint8_t kVendorCheckOriginal[] =
|
static const uint8_t kVendorCheckOriginal[] =
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user