----------------------------------------------------------------------------
| 2325 | } |
| 2326 | //---------------------------------------------------------------------------- |
| 2327 | void 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 | //---------------------------------------------------------------------------- |
| 2358 | void ConsoleDebugger::bpListUpdate( bool reset ) |
| 2359 | { |
nothing calls this directly
no test coverage detected