rsx capture: Fix exceptions handler, fix tiny race condition on capture new capture

This commit is contained in:
Eladash 2020-03-09 21:06:38 +02:00 committed by Megamouse
parent 7e9dbeff7b
commit c04abac630
4 changed files with 11 additions and 12 deletions

View file

@ -25,9 +25,10 @@
#include <QJSEngine>
#include <QVBoxLayout>
#include <QTimer>
#include <atomic>
constexpr auto qstr = QString::fromStdString;
extern bool user_asked_for_frame_capture;
extern std::atomic<bool> user_asked_for_frame_capture;
debugger_frame::debugger_frame(std::shared_ptr<gui_settings> settings, QWidget *parent)
: custom_dock_widget(tr("Debugger"), parent), xgui_settings(settings)