MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / EmuThread

Method EmuThread

gui/qt/emuthread.cpp:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55EmuThread::EmuThread(QObject *parent) : QThread{parent}, write{CONSOLE_BUFFER_SIZE},
56 m_speed{100}, m_throttle{true},
57 m_lastTime{std::chrono::steady_clock::now()},
58 m_debug{false} {
59 assert(emu == nullptr);
60 emu = this;
61 std::fill(m_perfArray, m_perfArray + PerfArraySize, m_lastTime);
62}
63
64void EmuThread::run() {
65 while (!(cpu_check_signals() & CPU_SIGNAL_EXIT)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected