diff options
| author | Lioncash <mai.iam2048@gmail.com> | 2024-01-23 18:39:57 -0500 |
|---|---|---|
| committer | Lioncash <mai.iam2048@gmail.com> | 2024-01-23 18:39:59 -0500 |
| commit | 100242a3805f2434544ff5a96e53f3548416d71b (patch) | |
| tree | 6b4b4ce0188dbc7d57366ee24077dd68ec93f1ae /Source/Core/DolphinQt/Debugger/GekkoSyntaxHighlight.cpp | |
| parent | e4fa5614d195550ed3ae884ae92bd610104868d9 (diff) | |
GekkoSyntaxHighlight: Collapse cases for builtin color formats
Same behavior, but without as much duplication.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/GekkoSyntaxHighlight.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/GekkoSyntaxHighlight.cpp | 8 |
1 files changed, 0 insertions, 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; |
