mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-23 11:30:15 +10:00
BlueToolFixup: Set unconditional jump
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
## 0.4.6
|
## 0.4.6
|
||||||
- Fix Bluetooth support in 12.4 Release
|
- Fix Bluetooth support in 12.4 Release
|
||||||
|
- Applicable for BCM2046 and BCM2070 chipsets
|
||||||
- Fix backported to 0.4.4 release
|
- Fix backported to 0.4.4 release
|
||||||
|
|
||||||
## 0.4.5
|
## 0.4.5
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -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..16fcbcd 100644
|
index a6e3c69..ce39735 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) {
|
||||||
@@ -23,7 +23,7 @@ index a6e3c69..16fcbcd 100644
|
|||||||
+ 0x48, 0x89, 0xF3, // mov rbx, rsi
|
+ 0x48, 0x89, 0xF3, // mov rbx, rsi
|
||||||
+ 0xE8, 0xE3, 0xF3, 0xFE, 0xFF, // call sub_1000c5bc6
|
+ 0xE8, 0xE3, 0xF3, 0xFE, 0xFF, // call sub_1000c5bc6
|
||||||
+ 0x85, 0xC0, // test eax, eax
|
+ 0x85, 0xC0, // test eax, eax
|
||||||
+ 0x75, 0x1D, // jne loc_1000d6804
|
+ 0x72, 0x1D, // jb short loc_1000d6804
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
+
|
+
|
||||||
|
|||||||
Reference in New Issue
Block a user