From 789b62bcd6af0f87ab8d71ff5190fdb9163d9bef Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 1 Sep 2021 19:56:17 -0400 Subject: adjust rewriter for backport to Stardew Valley 1.5.4 --- src/SMAPI/Metadata/InstructionMetadata.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/SMAPI/Metadata/InstructionMetadata.cs') diff --git a/src/SMAPI/Metadata/InstructionMetadata.cs b/src/SMAPI/Metadata/InstructionMetadata.cs index 54e46ed3..9f537c92 100644 --- a/src/SMAPI/Metadata/InstructionMetadata.cs +++ b/src/SMAPI/Metadata/InstructionMetadata.cs @@ -52,7 +52,9 @@ namespace StardewModdingAPI.Metadata yield return new Harmony1AssemblyRewriter(); // rewrite for 64-bit mode +#if SMAPI_FOR_WINDOWS_64BIT_HACK yield return new ArchitectureAssemblyRewriter(); +#endif } /**** -- cgit