Skip to content

Commit

Permalink
Update TraceRegisters.cpp - Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
sid-38 authored Feb 20, 2024
1 parent e2271e3 commit dca1d28
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/gui/Src/Tracer/TraceRegisters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,7 @@ void TraceRegisters::onSetCurrentRegister()
regName = mRegisterMapping.constFind(reg).value();

// flags and MFPU need to '_' infront
if(mFlags.contains(reg))
regName = "_" + regName;
\

if(mFPU.contains(reg))
if(mFlags.contains(reg) || mFPU.contains(reg))
regName = "_" + regName;

if(mUINTDISPLAY.contains(reg))
Expand Down

0 comments on commit dca1d28

Please sign in to comment.