4#include "imgui/imgui.h"
10 : symbol_provider_(symbol_provider) {}
15 double current_time = ImGui::GetTime();
20 if (!client || !client->IsConnected())
return;
22 auto cpu_state_or = client->GetCpuState();
23 if (!cpu_state_or.ok())
return;
25 const auto& cpu = *cpu_state_or;
27 uint32_t combined_pc = (cpu.K << 16) | (cpu.PC & 0xFFFF);
emu::debug::SymbolProvider * symbol_provider_
std::atomic< bool > enabled_
LocationCallback callback_
AsmFollowService(emu::debug::SymbolProvider *symbol_provider)
Provider for symbol (label) resolution in disassembly.
std::string GetSourceLocation(uint32_t address) const
Get source file and line for an address (for VS Code integration)
static std::shared_ptr< MesenSocketClient > GetOrCreate()