Skip to content

Commit

Permalink
Update Mono.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
HerpDerpinstine committed Nov 21, 2023
1 parent ce088b5 commit fb34aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MelonLoader/Modules/Unity/Unity.Bootstrap/Mono.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ internal static void Startup()
{
// Force-Load the Posix Helper before the actual Mono variant library
// Otherwise can cause crashing in some cases
if (!NativeLibrary.TryLoad(runtimeInfo.PosixPath, out IntPtr monoPosixHandle))
if (!MelonNativeLibrary.TryLoad(runtimeInfo.PosixPath, out IntPtr monoPosixHandle))
{
Assertion.ThrowInternalFailure($"Failed to load {runtimeInfo.Variant} Posix Helper from {runtimeInfo.PosixPath}!");
return;
Expand Down

0 comments on commit fb34aec

Please sign in to comment.