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

Function FCEU_printf

src/fceu.cpp:1097–1115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1095FCEUS FSettings;
1096
1097void FCEU_printf( __FCEU_PRINTF_FORMAT const char *format, ...)
1098{
1099 char temp[2048];
1100
1101 va_list ap;
1102
1103 va_start(ap, format);
1104 vsnprintf(temp, sizeof(temp), format, ap);
1105 FCEUD_Message(temp);
1106
1107#if 0
1108 FILE *ofile;
1109 ofile = fopen("stdout.txt", "ab");
1110 fwrite(temp, 1, strlen(temp), ofile);
1111 fclose(ofile);
1112#endif
1113
1114 va_end(ap);
1115}
1116
1117void FCEU_PrintError( __FCEU_PRINTF_FORMAT const char *format, ...)
1118{

Callers 15

debug_logMethod · 0.85
FCEUNET_SendFileFunction · 0.85
FCEU_DispMessageFunction · 0.85
FCEUI_LoadGameVirtualFunction · 0.85
FDSLoadFunction · 0.85
NSFLoadFunction · 0.85
ApplyIPSFunction · 0.85
saveMethod · 0.85
loadFileNLMethod · 0.85
DoMirroringFunction · 0.85
NAMEFunction · 0.85
DINFFunction · 0.85

Calls 1

FCEUD_MessageFunction · 0.50

Tested by

no test coverage detected