1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-12 07:42:02 +00:00

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 else
{ {
#if !DEBUG
if (ConfigurationState.Instance.Logger.EnableDebug.Value) if (ConfigurationState.Instance.Logger.EnableDebug.Value)
{ {
MessageDialog debugWarningDialog = new MessageDialog(this, DialogFlags.Modal, MessageType.Warning, ButtonsType.YesNo, null) MessageDialog debugWarningDialog = new MessageDialog(this, DialogFlags.Modal, MessageType.Warning, ButtonsType.YesNo, null)
@ -364,7 +365,7 @@ namespace Ryujinx.Ui
shadersDumpWarningDialog.Dispose(); shadersDumpWarningDialog.Dispose();
} }
#endif
Logger.RestartTime(); Logger.RestartTime();
HLE.Switch device = InitializeSwitchInstance(); HLE.Switch device = InitializeSwitchInstance();