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

Function pushMsgToLogBuffer

src/drivers/Qt/TraceLogger.cpp:1270–1279  ·  view source on GitHub ↗

----------------------------------------------------

Source from the content-addressed store, hash-verified

1268}
1269//----------------------------------------------------
1270static void pushMsgToLogBuffer(const char *msg)
1271{
1272 traceRecord_t rec;
1273
1274 strncpy(rec.asmTxt, msg, sizeof(rec.asmTxt));
1275
1276 rec.asmTxt[sizeof(rec.asmTxt) - 1] = 0;
1277
1278 pushToLogBuffer(rec);
1279}
1280//----------------------------------------------------
1281int FCEUD_TraceLoggerStart(void)
1282{

Callers 2

toggleLoggingOnOffMethod · 0.85
FCEUD_TraceLoggerStopFunction · 0.85

Calls 1

pushToLogBufferFunction · 0.85

Tested by

no test coverage detected