| 355 | #define MAX_LINECOUNTER 1000 |
| 356 | |
| 357 | static int debug_out (const TCHAR *format, ...) |
| 358 | { |
| 359 | va_list parms; |
| 360 | TCHAR buffer[4000]; |
| 361 | |
| 362 | va_start (parms, format); |
| 363 | _vsntprintf (buffer, 4000 - 1, format, parms); |
| 364 | va_end (parms); |
| 365 | |
| 366 | console_out (buffer); |
| 367 | if (debug_linecounter < MAX_LINECOUNTER) |
| 368 | debug_linecounter++; |
| 369 | if (debug_linecounter >= MAX_LINECOUNTER) |
| 370 | return 0; |
| 371 | return 1; |
| 372 | } |
| 373 | |
| 374 | uae_u32 get_byte_debug (uaecptr addr) |
| 375 | { |
no test coverage detected