| 846 | } |
| 847 | |
| 848 | void EmuThread::queueSnapshot(quint32 gsdump_frames) |
| 849 | { |
| 850 | if (!isOnEmuThread()) |
| 851 | { |
| 852 | QMetaObject::invokeMethod(this, "queueSnapshot", Qt::QueuedConnection, Q_ARG(quint32, gsdump_frames)); |
| 853 | return; |
| 854 | } |
| 855 | |
| 856 | if (!VMManager::HasValidVM()) |
| 857 | return; |
| 858 | |
| 859 | MTGS::RunOnGSThread([gsdump_frames]() { GSQueueSnapshot(std::string(), gsdump_frames); }); |
| 860 | } |
| 861 | |
| 862 | void EmuThread::beginCapture(const QString& path) |
| 863 | { |
no test coverage detected