GUI: minor textual improvements for new XMM display changes
This commit is contained in:
parent
040e087bf1
commit
20e7826295
|
|
@ -174,8 +174,8 @@ void CPUInfoBox::disasmSelectionChanged(dsint parVA)
|
|||
DbgDisasmFastAt(parVA, &basicinfo);
|
||||
|
||||
int start = 0;
|
||||
duint cip = DbgValFromString("cip");
|
||||
if(wInst.branchType == Instruction_t::Conditional && (!ConfigBool("Disassembler", "OnlyCipAutoComments") || parVA == cip)) //jump
|
||||
bool commentThis = !ConfigBool("Disassembler", "OnlyCipAutoComments") || parVA == DbgValFromString("cip");
|
||||
if(wInst.branchType == Instruction_t::Conditional && commentThis) //jump
|
||||
{
|
||||
bool taken = DbgIsJumpGoingToExecute(parVA);
|
||||
if(taken)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>696</width>
|
||||
<height>426</height>
|
||||
<height>428</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Short:</string>
|
||||
<string>Word:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
@ -102,7 +102,7 @@
|
|||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Int64:</string>
|
||||
<string>Qword:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
@ -115,7 +115,7 @@
|
|||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Long:</string>
|
||||
<string>Dword:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
@ -421,7 +421,7 @@
|
|||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Long:</string>
|
||||
<string>Dword:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
@ -447,7 +447,7 @@
|
|||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Short:</string>
|
||||
<string>Word:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
@ -460,7 +460,7 @@
|
|||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Int64:</string>
|
||||
<string>Qword:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
|||
|
|
@ -722,14 +722,14 @@ RegistersView::RegistersView(CPUWidget* parent) : QScrollArea(parent), mVScrollO
|
|||
SIMDFloat = new QAction(tr("Float"), mSwitchSIMDDispMode);
|
||||
SIMDDouble = new QAction(tr("Double"), mSwitchSIMDDispMode);
|
||||
SIMDSWord = new QAction(tr("Signed Word"), mSwitchSIMDDispMode);
|
||||
SIMDSDWord = new QAction(tr("Signed DWord"), mSwitchSIMDDispMode);
|
||||
SIMDSQWord = new QAction(tr("Signed QWord"), mSwitchSIMDDispMode);
|
||||
SIMDSDWord = new QAction(tr("Signed Dword"), mSwitchSIMDDispMode);
|
||||
SIMDSQWord = new QAction(tr("Signed Qword"), mSwitchSIMDDispMode);
|
||||
SIMDUWord = new QAction(tr("Unsigned Word"), mSwitchSIMDDispMode);
|
||||
SIMDUDWord = new QAction(tr("Unsigned DWord"), mSwitchSIMDDispMode);
|
||||
SIMDUQWord = new QAction(tr("Unsigned QWord"), mSwitchSIMDDispMode);
|
||||
SIMDUDWord = new QAction(tr("Unsigned Dword"), mSwitchSIMDDispMode);
|
||||
SIMDUQWord = new QAction(tr("Unsigned Qword"), mSwitchSIMDDispMode);
|
||||
SIMDHWord = new QAction(tr("Hexadecimal Word"), mSwitchSIMDDispMode);
|
||||
SIMDHDWord = new QAction(tr("Hexadecimal DWord"), mSwitchSIMDDispMode);
|
||||
SIMDHQWord = new QAction(tr("Hexadecimal QWord"), mSwitchSIMDDispMode);
|
||||
SIMDHDWord = new QAction(tr("Hexadecimal Dword"), mSwitchSIMDDispMode);
|
||||
SIMDHQWord = new QAction(tr("Hexadecimal Qword"), mSwitchSIMDDispMode);
|
||||
SIMDHex->setData(QVariant(0));
|
||||
SIMDFloat->setData(QVariant(1));
|
||||
SIMDDouble->setData(QVariant(2));
|
||||
|
|
@ -3561,6 +3561,7 @@ void RegistersView::onSIMDMode()
|
|||
{
|
||||
Config()->setUint("Gui", "SIMDRegistersDisplayMode", dynamic_cast<QAction*>(sender())->data().toInt());
|
||||
emit refresh();
|
||||
GuiUpdateDisassemblyView(); // refresh display mode for data in disassembly
|
||||
}
|
||||
|
||||
void RegistersView::onFpuMode()
|
||||
|
|
|
|||
Loading…
Reference in New Issue