MCPcopy Create free account
hub / github.com/clementgallet/libTAS / switch_section

Method switch_section

src/program/ui/HexViewWindow.cpp:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void HexViewWindow::switch_section()
105{
106 if (memsections.empty())
107 return;
108
109 const MemSection& section = memsections[sectionChoice->currentIndex()];
110 iodevice->setSection(section);
111 view->setBaseAddress(section.addr);
112}
113
114void HexViewWindow::seek(uintptr_t addr, int size)
115{

Callers

nothing calls this directly

Calls 3

setSectionMethod · 0.80
setBaseAddressMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected