From 58bc6897a5194d8d8878cdd9c40ba0750ca7e049 Mon Sep 17 00:00:00 2001 From: Xpl0itR Date: Sun, 15 Nov 2020 19:56:44 +0000 Subject: [PATCH] Don't warn when debug feature is enabled in debug mode (#1707) --- Ryujinx/Ui/MainWindow.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Ryujinx/Ui/MainWindow.cs b/Ryujinx/Ui/MainWindow.cs index 17eaea74..25407ff3 100644 --- a/Ryujinx/Ui/MainWindow.cs +++ b/Ryujinx/Ui/MainWindow.cs @@ -329,6 +329,7 @@ namespace Ryujinx.Ui } else { +#if !DEBUG if (ConfigurationState.Instance.Logger.EnableDebug.Value) { MessageDialog debugWarningDialog = new MessageDialog(this, DialogFlags.Modal, MessageType.Warning, ButtonsType.YesNo, null) @@ -364,7 +365,7 @@ namespace Ryujinx.Ui shadersDumpWarningDialog.Dispose(); } - +#endif Logger.RestartTime(); HLE.Switch device = InitializeSwitchInstance();