Don't warn when debug feature is enabled in debug mode (#1707)

This commit is contained in:
Xpl0itR 2020-11-15 19:56:44 +00:00 committed by GitHub
parent aa129fdbdf
commit 58bc6897a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();