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

Method setSpeed

gui/qt/emuthread.cpp:326–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326void EmuThread::setSpeed(int value) {
327 {
328 std::unique_lock<std::mutex> lockSpeed(m_mutexSpeed);
329 m_speed = value;
330 }
331 if (value) {
332 m_cvSpeed.notify_one();
333 }
334}
335
336void EmuThread::setThrottle(bool state) {
337 std::unique_lock<std::mutex> lockSpeed(m_mutexSpeed);

Callers 2

setEmuSpeedMethod · 0.80
pauseEmuMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected