summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2024-01-24 17:55:44 +0100
committerGitHub <noreply@github.com>2024-01-24 17:55:44 +0100
commitdab03e4c08ce54f4bbdff859496984744f1ed198 (patch)
tree21e1976686761795a9a1b793592f3f3abdd11c79 /Source
parent0b1087e9c907331bc5de76c9bb47fc78d3da64dc (diff)
parent100242a3805f2434544ff5a96e53f3548416d71b (diff)
Merge pull request #12527 from lioncash/highlight
GekkoSyntaxHighlight: Fix FPR terminal highlighting being treated as GPRs
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinQt/Debugger/GekkoSyntaxHighlight.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/Core/DolphinQt/Debugger/GekkoSyntaxHighlight.cpp b/Source/Core/DolphinQt/Debugger/GekkoSyntaxHighlight.cpp
index cdbbcf550d..0523944f63 100644
--- a/Source/Core/DolphinQt/Debugger/GekkoSyntaxHighlight.cpp
+++ b/Source/Core/DolphinQt/Debugger/GekkoSyntaxHighlight.cpp
@@ -52,7 +52,7 @@ public:
break;
case Terminal::FPR:
- HighlightCurToken(HighlightFormat::GPR);
+ HighlightCurToken(HighlightFormat::FPR);
break;
case Terminal::SPR:
@@ -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;