Skip to content
This repository was archived by the owner on Dec 11, 2021. It is now read-only.

Commit ad8a063

Browse files
committed
Bumped version to 2.5.1 + small fix to avoid an error while debugging
1 parent ce5ffe6 commit ad8a063

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Controller Input Display/Controller Input Display/SonicInputDisplay.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class SonicInputDisplay
2828

2929
public readonly static int processID = Process.GetCurrentProcess().Id;
3030

31-
public const string Version = "2.5";
31+
public const string Version = "2.5.1";
3232

3333
public static void Main()
3434
{
@@ -52,6 +52,10 @@ public static void Main()
5252

5353
theDisplay.BackColor = UserSettings.Default.BackgroundColor;
5454

55+
#if DEBUG //prevent a stupid error from the try catch (no idea why it still even throws it)
56+
Display.controller = new SharpDX.XInput.Controller(SharpDX.XInput.UserIndex.Any);
57+
#endif
58+
5559
theDisplay.ShowDialog();
5660
Settings.SaveSettings();
5761
}

0 commit comments

Comments
 (0)