MCPcopy Create free account
hub / github.com/clementgallet/libTAS / update

Method update

src/program/ui/RamSearchWindow.cpp:232–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void RamSearchWindow::update()
233{
234 /* Only update on new frame and every .5 ms */
235 int64_t elapsed = updateTimer->elapsed();
236 if (elapsed < 500) {
237 /* Call this function on timeout, if not already done */
238 if (!callTimer->isActive()) {
239 callTimer->start(500 - elapsed);
240 }
241 return;
242 }
243 updateTimer->start();
244
245 ramSearchModel->update();
246}
247
248void RamSearchWindow::getCompareParameters(CompareType& compare_type, CompareOperator& compare_operator, MemValueType& compare_value, MemValueType& different_value)
249{

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected