From e19193e073675158980393e8dc6b54dfe2a47c41 Mon Sep 17 00:00:00 2001
From: mageven <62494521+mageven@users.noreply.github.com>
Date: Fri, 7 Aug 2020 19:00:06 +0530
Subject: [PATCH] Rename DebugLevel Performance to Slowdowns (#1450)
---
Ryujinx.Common/Configuration/GraphicsDebugLevel.cs | 2 +-
Ryujinx.Graphics.OpenGL/Debugger.cs | 2 +-
Ryujinx/Ui/SettingsWindow.glade | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Ryujinx.Common/Configuration/GraphicsDebugLevel.cs b/Ryujinx.Common/Configuration/GraphicsDebugLevel.cs
index 1bef4a7e9..556af689a 100644
--- a/Ryujinx.Common/Configuration/GraphicsDebugLevel.cs
+++ b/Ryujinx.Common/Configuration/GraphicsDebugLevel.cs
@@ -4,7 +4,7 @@ namespace Ryujinx.Common.Configuration
{
None,
Error,
- Performance,
+ Slowdowns,
All
}
}
diff --git a/Ryujinx.Graphics.OpenGL/Debugger.cs b/Ryujinx.Graphics.OpenGL/Debugger.cs
index 974e5eadd..9f67cfc67 100644
--- a/Ryujinx.Graphics.OpenGL/Debugger.cs
+++ b/Ryujinx.Graphics.OpenGL/Debugger.cs
@@ -32,7 +32,7 @@ namespace Ryujinx.Graphics.OpenGL
{
GL.DebugMessageControl(DebugSourceControl.DontCare, DebugTypeControl.DebugTypeError, DebugSeverityControl.DontCare, 0, (int[])null, true);
}
- else if (logLevel == GraphicsDebugLevel.Performance)
+ else if (logLevel == GraphicsDebugLevel.Slowdowns)
{
GL.DebugMessageControl(DebugSourceControl.DontCare, DebugTypeControl.DebugTypeError, DebugSeverityControl.DontCare, 0, (int[])null, true);
GL.DebugMessageControl(DebugSourceControl.DontCare, DebugTypeControl.DebugTypePerformance, DebugSeverityControl.DontCare, 0, (int[])null, true);
diff --git a/Ryujinx/Ui/SettingsWindow.glade b/Ryujinx/Ui/SettingsWindow.glade
index 33ea05b75..953cdb8b3 100644
--- a/Ryujinx/Ui/SettingsWindow.glade
+++ b/Ryujinx/Ui/SettingsWindow.glade
@@ -2185,7 +2185,7 @@
start
5
Use with care
- Developer Options
+ Developer Options (WARNING: Will reduce performance)
@@ -2231,7 +2231,7 @@
@@ -2245,7 +2245,7 @@