diff --git a/Changelog.md b/Changelog.md index 9494e11b..9fa643fc 100644 --- a/Changelog.md +++ b/Changelog.md @@ -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 diff --git a/Library/OcAcpiLib/OcAcpiLib.c b/Library/OcAcpiLib/OcAcpiLib.c index 927f4b63..63c8145d 100755 --- a/Library/OcAcpiLib/OcAcpiLib.c +++ b/Library/OcAcpiLib/OcAcpiLib.c @@ -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] = '?';