mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-18 18:50:50 -04:00
fix(fs): race condition in save mirroring during config changes
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -105,6 +105,7 @@ class GMainWindow : public QMainWindow {
|
|||||||
public:
|
public:
|
||||||
void filterBarSetChecked(bool state);
|
void filterBarSetChecked(bool state);
|
||||||
void UpdateUITheme();
|
void UpdateUITheme();
|
||||||
|
bool IsConfiguring() const { return m_is_configuring; }
|
||||||
explicit GMainWindow(std::unique_ptr<QtConfig> config_, bool has_broken_vulkan);
|
explicit GMainWindow(std::unique_ptr<QtConfig> config_, bool has_broken_vulkan);
|
||||||
~GMainWindow() override;
|
~GMainWindow() override;
|
||||||
bool DropAction(QDropEvent* event);
|
bool DropAction(QDropEvent* event);
|
||||||
@@ -197,6 +198,7 @@ private:
|
|||||||
Service::AM::FrontendAppletParameters ApplicationAppletParameters();
|
Service::AM::FrontendAppletParameters ApplicationAppletParameters();
|
||||||
Service::AM::FrontendAppletParameters LibraryAppletParameters(u64 program_id, Service::AM::AppletId applet_id);
|
Service::AM::FrontendAppletParameters LibraryAppletParameters(u64 program_id, Service::AM::AppletId applet_id);
|
||||||
std::unique_ptr<FileSys::ManualContentProvider> autoloader_provider;
|
std::unique_ptr<FileSys::ManualContentProvider> autoloader_provider;
|
||||||
|
u64 current_title_id{0};
|
||||||
private slots:
|
private slots:
|
||||||
void OnStartGame();
|
void OnStartGame();
|
||||||
void OnRestartGame();
|
void OnRestartGame();
|
||||||
@@ -398,6 +400,7 @@ private:
|
|||||||
bool is_load_file_select_active{};
|
bool is_load_file_select_active{};
|
||||||
bool is_tas_recording_dialog_active{};
|
bool is_tas_recording_dialog_active{};
|
||||||
bool m_is_updating_theme = false;
|
bool m_is_updating_theme = false;
|
||||||
|
bool m_is_configuring = false;
|
||||||
#ifdef __unix__
|
#ifdef __unix__
|
||||||
QSocketNotifier* sig_interrupt_notifier;
|
QSocketNotifier* sig_interrupt_notifier;
|
||||||
static std::array<int, 3> sig_interrupt_fds;
|
static std::array<int, 3> sig_interrupt_fds;
|
||||||
|
|||||||
Reference in New Issue
Block a user