From 5723cd64da610deda3f44552fa60a75e60e20c4b Mon Sep 17 00:00:00 2001 From: Popax21 Date: Thu, 11 Jul 2024 14:54:08 +0200 Subject: [PATCH] Fix mods accessing the SharedRelinkModuleMap --- Celeste.Mod.mm/Mod/Everest/Everest.Relinker.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Celeste.Mod.mm/Mod/Everest/Everest.Relinker.cs b/Celeste.Mod.mm/Mod/Everest/Everest.Relinker.cs index 193fdaf95..620b5a6a8 100755 --- a/Celeste.Mod.mm/Mod/Everest/Everest.Relinker.cs +++ b/Celeste.Mod.mm/Mod/Everest/Everest.Relinker.cs @@ -16,7 +16,7 @@ public static partial class Everest { /// /// Relink mods to point towards Celeste.exe and FNA / XNA properly and to patch older mods to make them remain compatible. /// - internal static class Relinker { + public static class Relinker { /// /// The current Celeste.exe's checksum. @@ -105,7 +105,7 @@ public static Dictionary SharedRelinkMap { /// The path of the assembly's symbols inside of mod, or null /// A callback opening Streams for the assembly and (optionally) its symbols /// The loaded, relinked assembly. - public static Assembly GetRelinkedAssembly(EverestModuleMetadata meta, string asmname, string path, string symPath, Func<(Stream stream, Stream symStream)> streamOpener) { + internal static Assembly GetRelinkedAssembly(EverestModuleMetadata meta, string asmname, string path, string symPath, Func<(Stream stream, Stream symStream)> streamOpener) { lock (RelinkerLock) { // Determine cache paths string cachePath = GetCachedPath(meta, asmname);