mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-23 01:56:08 -04:00
feat(add): Initial Sync to fix overwriting of NAND when Configuring Settings outside of emulation
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -118,6 +118,8 @@ public:
|
|||||||
void RefreshGameList();
|
void RefreshGameList();
|
||||||
GRenderWindow* GetRenderWindow() const { return render_window; }
|
GRenderWindow* GetRenderWindow() const { return render_window; }
|
||||||
bool ExtractZipToDirectoryPublic(const std::filesystem::path& zip_path, const std::filesystem::path& extract_path);
|
bool ExtractZipToDirectoryPublic(const std::filesystem::path& zip_path, const std::filesystem::path& extract_path);
|
||||||
|
[[nodiscard]] bool HasPerformedInitialSync() const { return has_performed_initial_sync; }
|
||||||
|
void SetPerformedInitialSync(bool synced) { has_performed_initial_sync = synced; }
|
||||||
signals:
|
signals:
|
||||||
void EmulationStarting(EmuThread* emu_thread);
|
void EmulationStarting(EmuThread* emu_thread);
|
||||||
void EmulationStopping();
|
void EmulationStopping();
|
||||||
@@ -403,6 +405,7 @@ private:
|
|||||||
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;
|
bool m_is_configuring = false;
|
||||||
|
bool has_performed_initial_sync = 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