---------------------------------------------------------------------------- * Shows an error message in a message box. * (For now: prints to stderr.) * * If running in Qt mode, display a dialog message box of the error. * * @param errormsg Text of the error message. **/
| 317 | * @param errormsg Text of the error message. |
| 318 | **/ |
| 319 | void FCEUD_PrintError(const char *errormsg) |
| 320 | { |
| 321 | fprintf(stderr, "%s\n", errormsg); |
| 322 | |
| 323 | msgLog.addLine(errormsg, true); |
| 324 | |
| 325 | if (consoleWindow) |
| 326 | { |
| 327 | consoleWindow->QueueErrorMsgWindow(errormsg); |
| 328 | } |
| 329 | } |
| 330 | //---------------------------------------------------------------------------- |
no test coverage detected