refactor: clean up logging and improve IgnoreApplet logic in settings

This commit is contained in:
uncavo-hdmi 2025-01-26 23:52:44 +01:00
parent 2fe157e2b2
commit 24cef89b6c
4 changed files with 3 additions and 3 deletions

View File

@ -175,7 +175,6 @@ namespace Ryujinx.HLE.HOS.Services.Hid
private void Remap()
{
Logger.Warning?.Print(LogClass.Hid, $"Connected controllers");
// Remap/Init if necessary
for (int i = 0; i < MaxControllers; ++i)
{

View File

@ -173,7 +173,7 @@ namespace Ryujinx.Input.HLE
NpadController controller;
int index = controllers.FindIndex(x => x == activeController);
// TODO: Implement a function to determine if pro controller or single joycon (L/R) and to create the appropriate config.
// TODO: Implement a function to determine if pro controller or single joycon (L/R) and create the appropriate config.
// Also if old controller exists, try to reuse it (and create their config too).
bool isNintendoStyle = controllers.FirstOrDefault(x => x.Id == activeController.Id).Name.Contains("Nintendo");
string id = activeController.Id.Split(" ")[0];

View File

@ -638,7 +638,7 @@ namespace Ryujinx.Ava.UI.ViewModels
config.System.EnableFsIntegrityChecks.Value = EnableFsIntegrityChecks;
config.System.DramSize.Value = DramSize;
config.System.IgnoreMissingServices.Value = IgnoreMissingServices;
config.System.IgnoreApplet.Value = IgnoreApplet;
config.System.IgnoreApplet.Value = (EnableAutoAssign) || IgnoreApplet;
// CPU
config.System.EnablePtc.Value = EnablePptc;

View File

@ -313,6 +313,7 @@
<TextBlock Text="{ext:Locale SettingsTabSystemIgnoreMissingServices}" />
</CheckBox>
<CheckBox
IsEnabled="{Binding !EnableAutoAssign}"
IsChecked="{Binding IgnoreApplet}"
ToolTip.Tip="{ext:Locale IgnoreAppletTooltip}">
<TextBlock Text="{ext:Locale SettingsTabSystemIgnoreApplet}" />