| 8862 | } |
| 8863 | |
| 8864 | void debug_parser (const TCHAR *cmd, TCHAR *out, uae_u32 outsize) |
| 8865 | { |
| 8866 | TCHAR empty[2] = { 0 }; |
| 8867 | TCHAR *input = my_strdup (cmd); |
| 8868 | if (out == NULL && outsize == 0) { |
| 8869 | setconsolemode (empty, 1); |
| 8870 | } else if (out != NULL && outsize > 0) { |
| 8871 | out[0] = 0; |
| 8872 | setconsolemode (out, outsize); |
| 8873 | } |
| 8874 | debug_line (input); |
| 8875 | setconsolemode (NULL, 0); |
| 8876 | xfree (input); |
| 8877 | } |
| 8878 | |
| 8879 | /* |
| 8880 |
no test coverage detected