MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / queueSnapshot

Method queueSnapshot

pcsx2-qt/QtHost.cpp:848–860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

846}
847
848void 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
862void EmuThread::beginCapture(const QString& path)
863{

Callers 2

Calls 2

GSQueueSnapshotFunction · 0.85
stringClass · 0.50

Tested by

no test coverage detected