| 291 | } |
| 292 | |
| 293 | bool EmuThread::progressHandler(void *context, int value, int total) { |
| 294 | EmuThread* emuThread = reinterpret_cast<EmuThread *>(context); |
| 295 | if (value == 1 && total == 1) { |
| 296 | emuThread->setThrottle(emuThread->m_backupThrottleForTransfers); |
| 297 | } |
| 298 | emit emuThread->linkProgress(value, total); |
| 299 | return false; |
| 300 | } |
| 301 | |
| 302 | void EmuThread::enqueueKeys(quint16 key1, quint16 key2, bool repeat) { |
| 303 | QMutexLocker locker(&m_keyQueueMutex); |
nothing calls this directly
no test coverage detected