| 369 | } |
| 370 | |
| 371 | void EmuThread::debug(bool state, int mode) { |
| 372 | bool oldState; |
| 373 | { |
| 374 | std::lock_guard<std::mutex> lock(m_mutexDebug); |
| 375 | oldState = m_debug; |
| 376 | } |
| 377 | if (oldState && !state) { |
| 378 | resume(); |
| 379 | } |
| 380 | if (state) { |
| 381 | req(mode); |
| 382 | } |
| 383 | } |
| 384 | |
| 385 | void EmuThread::load(emu_data_t fileType, const QString &filePath) { |
| 386 |
no outgoing calls
no test coverage detected