OcAcpiLib: Fixed ACPI table magic corruption during patching

This commit is contained in:
vit9696 2021-03-16 09:45:34 +03:00
parent 548e144817
commit 0f42527e58
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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] = '?';