MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / debug_hsync

Function debug_hsync

src/debug.cpp:6201–6218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6199}
6200
6201void debug_hsync(void)
6202{
6203 if (debug_vpos < 0) {
6204 return;
6205 }
6206 if (debug_vpos != vpos) {
6207 return;
6208 }
6209 if (debug_hpos <= 0) {
6210 breakfunc(0);
6211 } else {
6212 if (current_hpos() < debug_hpos) {
6213 event2_newevent_x(-1, debug_hpos - current_hpos(), 0, breakfunc);
6214 } else {
6215 breakfunc(0);
6216 }
6217 }
6218}
6219
6220static int cycle_breakpoint(TCHAR **c)
6221{

Callers 1

hsync_handler_preFunction · 0.85

Calls 3

breakfuncFunction · 0.85
current_hposFunction · 0.85
event2_newevent_xFunction · 0.85

Tested by

no test coverage detected