mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 12:53:51 +00:00
Don't display operands, if none.
This commit is contained in:
parent
47b8f052bd
commit
bb4b08e8cf
@ -2141,6 +2141,8 @@ void SourceView::RenderAsmLine( const AsmLine& line, uint32_t ipcnt, uint32_t ip
|
|||||||
if( var.port != -1 ) TextFocused( "Ports:", PortList[var.port] );
|
if( var.port != -1 ) TextFocused( "Ports:", PortList[var.port] );
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
TextFocused( "ISA set:", IsaList[var.isaSet] );
|
TextFocused( "ISA set:", IsaList[var.isaSet] );
|
||||||
|
if( var.descNum > 0 )
|
||||||
|
{
|
||||||
TextDisabledUnformatted( "Operands:" );
|
TextDisabledUnformatted( "Operands:" );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
bool first = true;
|
bool first = true;
|
||||||
@ -2187,6 +2189,7 @@ void SourceView::RenderAsmLine( const AsmLine& line, uint32_t ipcnt, uint32_t ip
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
if( m_font ) ImGui::PushFont( m_font );
|
if( m_font ) ImGui::PushFont( m_font );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user