summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-09-01 19:56:17 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-09-01 19:56:17 -0400
commit789b62bcd6af0f87ab8d71ff5190fdb9163d9bef (patch)
treea9acece75f6eebad02f366ba76c015c6402469bc
parent6edcfb1358e470a636a9e97780e05f2a0dcb6752 (diff)
downloadSMAPI-789b62bcd6af0f87ab8d71ff5190fdb9163d9bef.tar.gz
SMAPI-789b62bcd6af0f87ab8d71ff5190fdb9163d9bef.tar.bz2
SMAPI-789b62bcd6af0f87ab8d71ff5190fdb9163d9bef.zip
adjust rewriter for backport to Stardew Valley 1.5.4
-rw-r--r--src/SMAPI/Metadata/InstructionMetadata.cs2
1 files changed, 2 insertions, 0 deletions
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
}
/****