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

Method openDebugSymbolEditWindow

src/drivers/Qt/ConsoleDebugger.cpp:2327–2356  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2325}
2326//----------------------------------------------------------------------------
2327void ConsoleDebugger::openDebugSymbolEditWindow( int addr )
2328{
2329 int ret, bank;
2330 debugSymbol_t *sym;
2331 SymbolEditWindow win(this);
2332
2333 if ( addr < 0x8000 )
2334 {
2335 bank = -1;
2336 }
2337 else
2338 {
2339 bank = getBank( addr );
2340 }
2341
2342 sym = debugSymbolTable.getSymbolAtBankOffset( bank, addr );
2343
2344 win.setAddr( addr );
2345
2346 win.setSym( sym );
2347
2348 ret = win.exec();
2349
2350 if ( ret == QDialog::Accepted )
2351 {
2352 FCEU_WRAPPER_LOCK();
2353 asmView->updateAssemblyView();
2354 FCEU_WRAPPER_UNLOCK();
2355 }
2356}
2357//----------------------------------------------------------------------------
2358void ConsoleDebugger::bpListUpdate( bool reset )
2359{

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected