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

Function ClearLog

src/drivers/win/log.cpp:134–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void ClearLog()
135{
136 for (logcount--; logcount >= 0; logcount--)
137 free(logtext[truncated_logcount()]);
138 logcount = 0;
139 if (logwin)
140 RedoText();
141}
142
143/**
144* Adds a textual log message to the message buffer.

Callers 1

LogConFunction · 0.85

Calls 2

truncated_logcountFunction · 0.85
RedoTextFunction · 0.85

Tested by

no test coverage detected