Evan Husted 1 год назад
Родитель
Сommit
80f44d9547
1 измененных файлов с 4 добавлено и 6 удалено
  1. 4 6
      src/Ryujinx/Headless/HeadlessRyujinx.cs

+ 4 - 6
src/Ryujinx/Headless/HeadlessRyujinx.cs

@@ -228,8 +228,6 @@ namespace Ryujinx.Headless
             _inputConfiguration ??= [];
             _inputConfiguration ??= [];
             _enableKeyboard = option.EnableKeyboard;
             _enableKeyboard = option.EnableKeyboard;
             _enableMouse = option.EnableMouse;
             _enableMouse = option.EnableMouse;
-
-
             
             
             LoadPlayerConfiguration(option.InputProfile1Name, option.InputId1, PlayerIndex.Player1);
             LoadPlayerConfiguration(option.InputProfile1Name, option.InputId1, PlayerIndex.Player1);
             LoadPlayerConfiguration(option.InputProfile2Name, option.InputId2, PlayerIndex.Player2); 
             LoadPlayerConfiguration(option.InputProfile2Name, option.InputId2, PlayerIndex.Player2); 
@@ -341,12 +339,12 @@ namespace Ryujinx.Headless
         {
         {
             string label = state switch
             string label = state switch
             {
             {
-                LoadState => $"PTC : {current}/{total}",
-                ShaderCacheState => $"Shaders : {current}/{total}",
-                _ => throw new ArgumentException($"Unknown Progress Handler type {typeof(T)}"),
+                LoadState => "PTC",
+                ShaderCacheState => "Shaders",
+                _ => throw new ArgumentException($"Unknown Progress Handler type {typeof(T)}")
             };
             };
 
 
-            Logger.Info?.Print(LogClass.Application, label);
+            Logger.Info?.Print(LogClass.Application, $"{label} : {current}/{total}");
         }
         }
 
 
         private static WindowBase CreateWindow(Options options)
         private static WindowBase CreateWindow(Options options)