Added autorestart of the emulator if it is necessary to change the graphic multi-thread.

Code cleaning
This commit is contained in:
Vova
2025-02-11 14:06:31 +10:00
parent 0399af0ff9
commit 1ca5407c22
7 changed files with 192 additions and 11 deletions

View File

@@ -11,6 +11,7 @@ namespace Ryujinx.Ava.Utilities
public static bool? OverrideHardwareAcceleration { get; private set; }
public static string OverrideGraphicsBackend { get; private set; }
public static string OverrideBackendThreading { get; private set; }
public static string OverrideBackendThreadingAfterReboot { get; private set; }
public static string OverridePPTC { get; private set; }
public static string OverrideMemoryManagerMode { get; private set; }
public static string OverrideSystemRegion { get; private set; }
@@ -99,6 +100,16 @@ namespace Ryujinx.Ava.Utilities
OverrideBackendThreading = args[++i];
break;
case "--bt":
if (i + 1 >= args.Length)
{
Logger.Error?.Print(LogClass.Application, $"Invalid option '{arg}'");
continue;
}
OverrideBackendThreadingCustom = args[++i];
break;
case "--pptc":
if (i + 1 >= args.Length)
{