| 50 | } |
| 51 | |
| 52 | void I_DebugPrintf(const char *fmt,...) |
| 53 | { |
| 54 | if (IsDebuggerPresent()) |
| 55 | { |
| 56 | va_list args; |
| 57 | va_start(args, fmt); |
| 58 | |
| 59 | FString s; |
| 60 | s.VFormat(fmt, args); |
| 61 | |
| 62 | va_end(args); |
| 63 | |
| 64 | auto wstr = WideString(s.GetChars()); |
| 65 | OutputDebugStringW(wstr.c_str()); |
| 66 | } |
| 67 | } |
| 68 | #else |
| 69 | void I_DebugPrint(const char *cp) |
| 70 | { |
nothing calls this directly
no test coverage detected