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

Function FillDebuggerBookmarkListbox

src/drivers/win/debuggersp.cpp:893–902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891}
892
893void FillDebuggerBookmarkListbox(HWND hwnd)
894{
895 SendDlgItemMessage(hwnd, LIST_DEBUGGER_BOOKMARKS, LB_RESETCONTENT, 0, 0);
896 char buffer[256];
897 for (unsigned int i = 0; i < bookmarks.size(); ++i)
898 {
899 sprintf(buffer, "%04X %s", bookmarks[i].first, bookmarks[i].second.c_str());
900 SendDlgItemMessage(hwnd, LIST_DEBUGGER_BOOKMARKS, LB_ADDSTRING, 0, (LPARAM)buffer);
901 }
902}
903
904/**
905* Shows the code at the bookmark address in the disassembly window

Callers 1

LoadGameDebuggerDataFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected