Skip to content

Commit

Permalink
Mark loader entrypoint as [STAThread]
Browse files Browse the repository at this point in the history
Needed for some windowing functionality, SDL3 logs an error on startup otherwise.
  • Loading branch information
PJB3005 committed Jan 2, 2025
1 parent 749d9ea commit ac004a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SS14.Loader/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ private bool TryOpenAssemblyStream(string name, [NotNullWhen(true)] out Stream?
return true;
}

[STAThread]
internal static int Main(string[] args)
{
if (args.Length < 3)
Expand Down

0 comments on commit ac004a6

Please sign in to comment.