mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #12527 from lioncash/highlight
GekkoSyntaxHighlight: Fix FPR terminal highlighting being treated as GPRs
This commit is contained in:
commit
dab03e4c08
@ -52,7 +52,7 @@ public:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case Terminal::FPR:
|
case Terminal::FPR:
|
||||||
HighlightCurToken(HighlightFormat::GPR);
|
HighlightCurToken(HighlightFormat::FPR);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Terminal::SPR:
|
case Terminal::SPR:
|
||||||
@ -221,17 +221,9 @@ void GekkoSyntaxHighlight::HighlightSubstr(int start, int len, HighlightFormat f
|
|||||||
hl_format.setForeground(IMM_COLOR[m_theme_idx]);
|
hl_format.setForeground(IMM_COLOR[m_theme_idx]);
|
||||||
break;
|
break;
|
||||||
case HighlightFormat::GPR:
|
case HighlightFormat::GPR:
|
||||||
hl_format.setForeground(BUILTIN_COLOR[m_theme_idx]);
|
|
||||||
break;
|
|
||||||
case HighlightFormat::FPR:
|
case HighlightFormat::FPR:
|
||||||
hl_format.setForeground(BUILTIN_COLOR[m_theme_idx]);
|
|
||||||
break;
|
|
||||||
case HighlightFormat::SPR:
|
case HighlightFormat::SPR:
|
||||||
hl_format.setForeground(BUILTIN_COLOR[m_theme_idx]);
|
|
||||||
break;
|
|
||||||
case HighlightFormat::CRField:
|
case HighlightFormat::CRField:
|
||||||
hl_format.setForeground(BUILTIN_COLOR[m_theme_idx]);
|
|
||||||
break;
|
|
||||||
case HighlightFormat::CRFlag:
|
case HighlightFormat::CRFlag:
|
||||||
hl_format.setForeground(BUILTIN_COLOR[m_theme_idx]);
|
hl_format.setForeground(BUILTIN_COLOR[m_theme_idx]);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user