Compare commits

..

1 Commits

Author SHA1 Message Date
Evan Husted 9d28af935d headless: Enable Rainbow cycling if any input configs have UseRainbow enabled 2025-01-28 20:16:41 -06:00
3 changed files with 20 additions and 14 deletions
+1
View File
@@ -192,6 +192,7 @@ namespace Ryujinx.HLE
/// <summary> /// <summary>
/// The desired hacky workarounds. /// The desired hacky workarounds.
/// </summary> /// </summary>
/// <remarks>This cannot be changed after <see cref="Switch"/> instantiation.</remarks>
public EnabledDirtyHack[] Hacks { internal get; set; } public EnabledDirtyHack[] Hacks { internal get; set; }
public HLEConfiguration(VirtualFileSystem virtualFileSystem, public HLEConfiguration(VirtualFileSystem virtualFileSystem,
+14 -14
View File
@@ -589,7 +589,7 @@
"pl_PL": "", "pl_PL": "",
"pt_BR": "", "pt_BR": "",
"ru_RU": "", "ru_RU": "",
"sv_SE": "Starta spel med dolt användargränssnitt", "sv_SE": "",
"th_TH": "", "th_TH": "",
"tr_TR": "", "tr_TR": "",
"uk_UA": "", "uk_UA": "",
@@ -2339,7 +2339,7 @@
"pl_PL": "", "pl_PL": "",
"pt_BR": "", "pt_BR": "",
"ru_RU": "", "ru_RU": "",
"sv_SE": "Extrahera RomFS från en vald DLC-fil", "sv_SE": "",
"th_TH": "", "th_TH": "",
"tr_TR": "", "tr_TR": "",
"uk_UA": "", "uk_UA": "",
@@ -3996,7 +3996,7 @@
"zh_CN": "繁体中文(推荐)", "zh_CN": "繁体中文(推荐)",
"zh_TW": "正體中文 (建議)" "zh_TW": "正體中文 (建議)"
} }
}, },
{ {
"ID": "SettingsTabSystemSystemLanguageSwedish", "ID": "SettingsTabSystemSystemLanguageSwedish",
"Translations": { "Translations": {
@@ -4021,7 +4021,7 @@
"zh_CN": "", "zh_CN": "",
"zh_TW": "" "zh_TW": ""
} }
}, },
{ {
"ID": "SettingsTabSystemSystemLanguageNorwegian", "ID": "SettingsTabSystemSystemLanguageNorwegian",
"Translations": { "Translations": {
@@ -5764,7 +5764,7 @@
"pl_PL": "", "pl_PL": "",
"pt_BR": "", "pt_BR": "",
"ru_RU": "", "ru_RU": "",
"sv_SE": "Ok", "sv_SE": "",
"th_TH": "ตกลง", "th_TH": "ตกลง",
"tr_TR": "Tamam", "tr_TR": "Tamam",
"uk_UA": "", "uk_UA": "",
@@ -7664,7 +7664,7 @@
"pl_PL": "", "pl_PL": "",
"pt_BR": "", "pt_BR": "",
"ru_RU": "", "ru_RU": "",
"sv_SE": "Inaktivera", "sv_SE": "",
"th_TH": "", "th_TH": "",
"tr_TR": "", "tr_TR": "",
"uk_UA": "", "uk_UA": "",
@@ -7689,7 +7689,7 @@
"pl_PL": "", "pl_PL": "",
"pt_BR": "", "pt_BR": "",
"ru_RU": "", "ru_RU": "",
"sv_SE": "Regnbåge", "sv_SE": "",
"th_TH": "", "th_TH": "",
"tr_TR": "", "tr_TR": "",
"uk_UA": "", "uk_UA": "",
@@ -7714,7 +7714,7 @@
"pl_PL": "", "pl_PL": "",
"pt_BR": "", "pt_BR": "",
"ru_RU": "", "ru_RU": "",
"sv_SE": "Färg", "sv_SE": "",
"th_TH": "", "th_TH": "",
"tr_TR": "", "tr_TR": "",
"uk_UA": "", "uk_UA": "",
@@ -14489,7 +14489,7 @@
"pl_PL": "Seria Amiibo", "pl_PL": "Seria Amiibo",
"pt_BR": "Franquia Amiibo", "pt_BR": "Franquia Amiibo",
"ru_RU": "Серия Amiibo", "ru_RU": "Серия Amiibo",
"sv_SE": "Amiibo-serie", "sv_SE": "",
"th_TH": "", "th_TH": "",
"tr_TR": "Amiibo Serisi", "tr_TR": "Amiibo Serisi",
"uk_UA": "Серія Amiibo", "uk_UA": "Серія Amiibo",
@@ -17864,7 +17864,7 @@
"pl_PL": "", "pl_PL": "",
"pt_BR": "Ryujinx - Informação", "pt_BR": "Ryujinx - Informação",
"ru_RU": "Ryujinx - Информация", "ru_RU": "Ryujinx - Информация",
"sv_SE": "Ryujinx - Information", "sv_SE": "",
"th_TH": "Ryujinx ข้อมูล", "th_TH": "Ryujinx ข้อมูล",
"tr_TR": "Ryujinx - Bilgi", "tr_TR": "Ryujinx - Bilgi",
"uk_UA": "Ryujin x - Інформація", "uk_UA": "Ryujin x - Інформація",
@@ -18939,7 +18939,7 @@
"pl_PL": "", "pl_PL": "",
"pt_BR": "", "pt_BR": "",
"ru_RU": "", "ru_RU": "",
"sv_SE": "LED-inställningar", "sv_SE": "",
"th_TH": "", "th_TH": "",
"tr_TR": "", "tr_TR": "",
"uk_UA": "", "uk_UA": "",
@@ -21139,7 +21139,7 @@
"pl_PL": "Głoś", "pl_PL": "Głoś",
"pt_BR": "", "pt_BR": "",
"ru_RU": "Громкость", "ru_RU": "Громкость",
"sv_SE": "Volym", "sv_SE": "",
"th_TH": "ระดับเสียง", "th_TH": "ระดับเสียง",
"tr_TR": "Ses", "tr_TR": "Ses",
"uk_UA": "Гуч.", "uk_UA": "Гуч.",
@@ -23089,7 +23089,7 @@
"pl_PL": "", "pl_PL": "",
"pt_BR": "", "pt_BR": "",
"ru_RU": "", "ru_RU": "",
"sv_SE": "Välj en DLC att extrahera", "sv_SE": "",
"th_TH": "", "th_TH": "",
"tr_TR": "", "tr_TR": "",
"uk_UA": "", "uk_UA": "",
@@ -23098,4 +23098,4 @@
} }
} }
] ]
} }
+5
View File
@@ -5,6 +5,7 @@ using Ryujinx.Ava.Utilities.Configuration;
using Ryujinx.Common; using Ryujinx.Common;
using Ryujinx.Common.Configuration; using Ryujinx.Common.Configuration;
using Ryujinx.Common.Configuration.Hid; using Ryujinx.Common.Configuration.Hid;
using Ryujinx.Common.Configuration.Hid.Controller;
using Ryujinx.Common.GraphicsDriver; using Ryujinx.Common.GraphicsDriver;
using Ryujinx.Common.Logging; using Ryujinx.Common.Logging;
using Ryujinx.Common.Logging.Targets; using Ryujinx.Common.Logging.Targets;
@@ -26,6 +27,7 @@ using Ryujinx.SDL2.Common;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq;
using System.Threading; using System.Threading;
namespace Ryujinx.Headless namespace Ryujinx.Headless
@@ -286,6 +288,9 @@ namespace Ryujinx.Headless
GraphicsConfig.EnableMacroHLE = !option.DisableMacroHLE; GraphicsConfig.EnableMacroHLE = !option.DisableMacroHLE;
DriverUtilities.InitDriverConfig(option.BackendThreading == BackendThreading.Off); DriverUtilities.InitDriverConfig(option.BackendThreading == BackendThreading.Off);
if (_inputConfiguration.OfType<StandardControllerInputConfig>().Any(ic => ic.Led.UseRainbow))
Rainbow.Enable();
while (true) while (true)
{ {