MCPcopy Create free account
hub / github.com/TASEmulators/fceux / openDebugSymbolEditWindow

Method openDebugSymbolEditWindow

src/drivers/Qt/HexEditor.cpp:1831–1858  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1829}
1830//----------------------------------------------------------------------------
1831void HexEditorDialog_t::openDebugSymbolEditWindow( int addr )
1832{
1833 int ret, bank;
1834 debugSymbol_t *sym;
1835 SymbolEditWindow win(this);
1836
1837 if ( addr < 0x8000 )
1838 {
1839 bank = -1;
1840 }
1841 else
1842 {
1843 bank = getBank( addr );
1844 }
1845
1846 sym = debugSymbolTable.getSymbolAtBankOffset( bank, addr );
1847
1848 win.setAddr( addr );
1849
1850 win.setSym( sym );
1851
1852 ret = win.exec();
1853
1854 if ( ret == QDialog::Accepted )
1855 {
1856 updateAllDebuggerWindows(QAsmView::UPDATE_NO_SCROLL);
1857 }
1858}
1859//----------------------------------------------------------------------------
1860void HexEditorDialog_t::updatePeriodic(void)
1861{

Callers 1

addDebugSymMethod · 0.45

Calls 6

getBankFunction · 0.85
updateAllDebuggerWindowsFunction · 0.85
getSymbolAtBankOffsetMethod · 0.80
setSymMethod · 0.80
execMethod · 0.80
setAddrMethod · 0.45

Tested by

no test coverage detected