From 100242a3805f2434544ff5a96e53f3548416d71b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 23 Jan 2024 18:39:57 -0500 Subject: [PATCH] GekkoSyntaxHighlight: Collapse cases for builtin color formats Same behavior, but without as much duplication. --- Source/Core/DolphinQt/Debugger/GekkoSyntaxHighlight.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Source/Core/DolphinQt/Debugger/GekkoSyntaxHighlight.cpp b/Source/Core/DolphinQt/Debugger/GekkoSyntaxHighlight.cpp index b62628944f..0523944f63 100644 --- a/Source/Core/DolphinQt/Debugger/GekkoSyntaxHighlight.cpp +++ b/Source/Core/DolphinQt/Debugger/GekkoSyntaxHighlight.cpp @@ -221,17 +221,9 @@ void GekkoSyntaxHighlight::HighlightSubstr(int start, int len, HighlightFormat f hl_format.setForeground(IMM_COLOR[m_theme_idx]); break; case HighlightFormat::GPR: - hl_format.setForeground(BUILTIN_COLOR[m_theme_idx]); - break; case HighlightFormat::FPR: - hl_format.setForeground(BUILTIN_COLOR[m_theme_idx]); - break; case HighlightFormat::SPR: - hl_format.setForeground(BUILTIN_COLOR[m_theme_idx]); - break; case HighlightFormat::CRField: - hl_format.setForeground(BUILTIN_COLOR[m_theme_idx]); - break; case HighlightFormat::CRFlag: hl_format.setForeground(BUILTIN_COLOR[m_theme_idx]); break;