1
0
forked from MeloNX/MeloNX

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 59c45ab5c3
commit b9c272e1c9

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