diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index f16b76de..e4834ff2 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1721,6 +1721,11 @@ uint64_t SourceView::RenderSymbolAsmView( uint32_t iptotal, unordered_flat_mapsecond.min ) + { + minIdx = i++; + break; + } + } + assert( i != m_asm.size() ); + for( ; isecond.max ) + { + maxIdx = i+1; + break; + } + } + assert( i != m_asm.size() ); + + Save( worker, minIdx, maxIdx ); + ImGui::CloseCurrentPopup(); + } + ImGui::EndPopup(); + } + if( m_font ) ImGui::PushFont( m_font ); } auto win = ImGui::GetCurrentWindow(); diff --git a/server/TracySourceView.hpp b/server/TracySourceView.hpp index 99809882..9a5e0141 100644 --- a/server/TracySourceView.hpp +++ b/server/TracySourceView.hpp @@ -206,6 +206,7 @@ private: bool m_calcInlineStats; uint8_t m_maxAsmBytes; bool m_atnt; + uint64_t m_jumpPopupAddr; std::vector m_lines; std::vector m_asm;