===========================================================================
| 514 | |
| 515 | //=========================================================================== |
| 516 | bool _Bookmark_Del( const WORD nAddress ) |
| 517 | { |
| 518 | bool bDeleted = false; |
| 519 | |
| 520 | // int nSize = g_aBookmarks.size(); |
| 521 | int iBookmark; |
| 522 | for (iBookmark = 0; iBookmark < MAX_BOOKMARKS; iBookmark++ ) |
| 523 | { |
| 524 | if (g_aBookmarks[ iBookmark ].nAddress == nAddress) |
| 525 | { |
| 526 | // g_aBookmarks.at( iBookmark ) = NO_6502_TARGET; |
| 527 | g_aBookmarks[ iBookmark ].bSet = false; |
| 528 | g_nBookmarks--; |
| 529 | bDeleted = true; |
| 530 | } |
| 531 | } |
| 532 | return bDeleted; |
| 533 | } |
| 534 | |
| 535 | // Returns: |
| 536 | // 0 if address does not have a bookmark set |
no outgoing calls
no test coverage detected