| 6199 | } |
| 6200 | |
| 6201 | void 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 | |
| 6220 | static int cycle_breakpoint(TCHAR **c) |
| 6221 | { |
no test coverage detected