mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
one more quirk for dsdt by Exception
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
c25bbcedad
commit
9efd195bbb
@ -1412,6 +1412,7 @@ UINT32 CorrectOuters (UINT8 *dsdt, UINT32 len, UINT32 adr, INT32 shift)
|
|||||||
if ((dsdt[i] == 0x5B) && (dsdt[i+1] == 0x82) && !CmpNum(dsdt, i, TRUE)) { //device candidate
|
if ((dsdt[i] == 0x5B) && (dsdt[i+1] == 0x82) && !CmpNum(dsdt, i, TRUE)) { //device candidate
|
||||||
k = i + 2;
|
k = i + 2;
|
||||||
} else if ((dsdt[i] == 0x10) && //looks like Scope
|
} else if ((dsdt[i] == 0x10) && //looks like Scope
|
||||||
|
(dsdt[i-1] != 0x14) && //this is Method()
|
||||||
(dsdt[i-1] != 0xA0) && //this is If()
|
(dsdt[i-1] != 0xA0) && //this is If()
|
||||||
(dsdt[i-1] != 0xA1) && //this is Else()
|
(dsdt[i-1] != 0xA1) && //this is Else()
|
||||||
(dsdt[i-1] != 0xA2) && //this is While()
|
(dsdt[i-1] != 0xA2) && //this is While()
|
||||||
|
Loading…
Reference in New Issue
Block a user