mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-08-19 23:28:42 +02:00
Don't warn when debug feature is enabled in debug mode (#1707)
This commit is contained in:
parent
aa129fdbdf
commit
58bc6897a5
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue