| 67 | } |
| 68 | |
| 69 | void Debug::FatalErrorAndExit(const char* pFormat, ...) |
| 70 | { |
| 71 | va_list args; |
| 72 | va_start(args, pFormat); |
| 73 | LogWithVArgs(pFormat, args); |
| 74 | va_end(args); |
| 75 | MessageBox(0, StringBuffer, "Fatal error ", MB_ICONERROR); |
| 76 | FatalExit(static_cast<int>(ExitCode::Undefined)); |
| 77 | } |
| 78 | |
| 79 | void Debug::FatalErrorAndExit(ExitCode nExitCode, const char* pFormat, ...) |
| 80 | { |
nothing calls this directly
no outgoing calls
no test coverage detected