MCPcopy Create free account
hub / github.com/TASEmulators/fceux / FCEUD_PrintError

Function FCEUD_PrintError

src/drivers/Qt/MsgLogViewer.cpp:319–329  ·  view source on GitHub ↗

---------------------------------------------------------------------------- * 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. **/

Source from the content-addressed store, hash-verified

317* @param errormsg Text of the error message.
318**/
319void 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//----------------------------------------------------------------------------

Callers 12

SaveStrippedROMMethod · 0.70
SaveCDLogFileFunction · 0.70
closeMethod · 0.70
aviRecordLogOpenFunction · 0.70
aviRecordOpenFileFunction · 0.70
LoadCPaletteFunction · 0.70
fdsLoadBiosFileMethod · 0.70
startLuaScriptMethod · 0.70
MessageOutputFunction · 0.70
recordMovieMethod · 0.70
initModulesMethod · 0.50
importMovieFileMethod · 0.50

Calls 2

QueueErrorMsgWindowMethod · 0.80
addLineMethod · 0.45

Tested by

no test coverage detected