1
0
Fork 0

Update TraceRegisters.cpp - Minor refactoring

This commit is contained in:
Sidharth Anil 2024-02-19 20:00:42 -06:00 committed by GitHub
parent e2271e303a
commit dca1d28eb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 5 deletions

View File

@ -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))