Skip to content

Commit

Permalink
Update MelonAssertion.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
HerpDerpinstine committed Dec 8, 2023
1 parent a5871a7 commit c431f9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MelonLoader/MelonLoader.Shared/Utils/MelonAssertion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ namespace MelonLoader.Utils
{
public static class MelonAssertion
{
internal static bool ShouldContinue = true;
private static bool ShouldContinue = true;

//TODO: Could this be done in a better way? net35/6 load PresentationFramework differently so I could not rely on it
//This crashes with start screen enabled
[DllImport("user32.dll", CharSet = CharSet.Auto)]
internal static extern IntPtr MessageBox(int hWnd, String text, String caption, uint type);
private static extern IntPtr MessageBox(int hWnd, string text, string caption, uint type);

public static void ThrowInternalFailure(string msg)
{
Expand Down

0 comments on commit c431f9e

Please sign in to comment.