Explorar o código

Early exit when outdated Windows detected

Evan Husted hai 1 ano
pai
achega
18238736be
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/Ryujinx/Program.cs

+ 1 - 0
src/Ryujinx/Program.cs

@@ -47,6 +47,7 @@ namespace Ryujinx.Ava
             if (OperatingSystem.IsWindows() && !OperatingSystem.IsWindowsVersionAtLeast(10, 0, 19041))
             {
                 _ = MessageBoxA(nint.Zero, "You are running an outdated version of Windows.\n\nRyujinx supports Windows 10 version 20H1 and newer.\n", $"Ryujinx {Version}", MbIconwarning);
+                return 0;
             }
 
             PreviewerDetached = true;