MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / _Bookmark_Add

Function _Bookmark_Add

source/Debugger/Debug.cpp:499–512  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

497
498//===========================================================================
499bool _Bookmark_Add( const int iBookmark, const WORD nAddress )
500{
501 if (iBookmark < MAX_BOOKMARKS)
502 {
503 // g_aBookmarks.push_back( nAddress );
504// g_aBookmarks.at( iBookmark ) = nAddress;
505 g_aBookmarks[ iBookmark ].nAddress = nAddress;
506 g_aBookmarks[ iBookmark ].bSet = true;
507 g_nBookmarks++;
508 return true;
509 }
510
511 return false;
512}
513
514
515//===========================================================================

Callers 1

CmdBookmarkAddFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected