Skip to content

Commit

Permalink
Fix mods accessing the SharedRelinkModuleMap
Browse files Browse the repository at this point in the history
  • Loading branch information
Popax21 committed Jul 11, 2024
1 parent 9f0456c commit 5723cd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Celeste.Mod.mm/Mod/Everest/Everest.Relinker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static partial class Everest {
/// <summary>
/// Relink mods to point towards Celeste.exe and FNA / XNA properly and to patch older mods to make them remain compatible.
/// </summary>
internal static class Relinker {
public static class Relinker {

/// <summary>
/// The current Celeste.exe's checksum.
Expand Down Expand Up @@ -105,7 +105,7 @@ public static Dictionary<string, object> SharedRelinkMap {
/// <param name="symPath">The path of the assembly's symbols inside of mod, or null</param>
/// <param name="streamOpener">A callback opening Streams for the assembly and (optionally) its symbols</param>
/// <returns>The loaded, relinked assembly.</returns>
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);
Expand Down

0 comments on commit 5723cd6

Please sign in to comment.