From 6286501550b97424ad1ab5a628d528b17da513ce Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Tue, 31 Dec 2024 20:11:44 -0600 Subject: [PATCH] misc: do not log dirty hack changes if ShowDirtyHacks is disabled --- .../Utilities/Configuration/ConfigurationState.Model.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Ryujinx/Utilities/Configuration/ConfigurationState.Model.cs b/src/Ryujinx/Utilities/Configuration/ConfigurationState.Model.cs index 4fc25addb..fe5f2c3ad 100644 --- a/src/Ryujinx/Utilities/Configuration/ConfigurationState.Model.cs +++ b/src/Ryujinx/Utilities/Configuration/ConfigurationState.Model.cs @@ -645,6 +645,9 @@ namespace Ryujinx.Ava.Utilities.Configuration private void HackChanged(object sender, ReactiveEventArgs rxe) { + if (!ShowDirtyHacks) + return; + var newHacks = EnabledHacks.Select(x => x.Hack) .JoinToString(", ");