mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcAcpiLib: Fixed ACPI table magic corruption during patching
This commit is contained in:
parent
548e144817
commit
0f42527e58
@ -18,6 +18,7 @@ OpenCore Changelog
|
||||
- Added TSC frequency reading from Apple Platform Info
|
||||
- Added TSC frequency reading for Apple devices with nForce chipsets
|
||||
- Added `Base` and `BaseSkip` lookup for ACPI patches
|
||||
- Fixed ACPI table magic corruption during patching
|
||||
|
||||
#### v0.6.7
|
||||
- Fixed ocvalidate return code to be non-zero when issues are found
|
||||
|
||||
@ -150,7 +150,7 @@ AcpiReadSignature (
|
||||
|
||||
Result = Common->Signature;
|
||||
|
||||
Walker = (CHAR8 *) &Common->Signature;
|
||||
Walker = (CHAR8 *) &Result;
|
||||
for (Index = 0; Index < sizeof (Common->Signature); Index++) {
|
||||
if (!IsAsciiPrint (Walker[Index])) {
|
||||
Walker[Index] = '?';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user