FifoPlayer: Store early memory updates option in the config

Now, early memory updates is persisted across runs, and can be toggled before starting a fifolog.
This commit is contained in:
Pokechu22
2022-01-06 14:38:09 -08:00
parent 193ca92cb8
commit 575062a612
6 changed files with 45 additions and 15 deletions

View File

@ -7,12 +7,12 @@
#include "Core/Core.h"
class QCheckBox;
class QDialogButtonBox;
class QLabel;
class QPushButton;
class QSpinBox;
class QTabWidget;
class ToolTipCheckBox;
class FIFOAnalyzer;
class FIFOPlayerWindow : public QWidget
@ -27,7 +27,9 @@ signals:
private:
void CreateWidgets();
void LoadSettings();
void ConnectWidgets();
void AddDescriptions();
void LoadRecording();
void SaveRecording();
@ -37,9 +39,9 @@ private:
void OnEmulationStarted();
void OnEmulationStopped();
void OnLimitsChanged();
void OnEarlyMemoryUpdatesChanged(bool enabled);
void OnRecordingDone();
void OnFIFOLoaded();
void OnConfigChanged();
void UpdateControls();
void UpdateInfo();
@ -62,7 +64,7 @@ private:
QLabel* m_object_range_from_label;
QSpinBox* m_object_range_to;
QLabel* m_object_range_to_label;
QCheckBox* m_early_memory_updates;
ToolTipCheckBox* m_early_memory_updates;
QDialogButtonBox* m_button_box;
QWidget* m_main_widget;