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

Method updatePeriodic

src/drivers/Qt/MsgLogViewer.cpp:280–294  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

278}
279//----------------------------------------------------------------------------
280void MsgLogViewDialog_t::updatePeriodic(void)
281{
282 if (msgLog.getTotalLineCount() != totalLines)
283 {
284 FCEU_WRAPPER_LOCK();
285
286 msgLog.loadTextViewer(txtView);
287
288 totalLines = msgLog.getTotalLineCount();
289
290 FCEU_WRAPPER_UNLOCK();
291
292 txtView->moveCursor(QTextCursor::End);
293 }
294}
295//----------------------------------------------------------------------------
296/**
297* Prints a textual message without adding a newline at the end.

Callers

nothing calls this directly

Calls 2

getTotalLineCountMethod · 0.80
loadTextViewerMethod · 0.80

Tested by

no test coverage detected