Qt: Create load/save state menus on demand
This commit is contained in:
@@ -69,7 +69,6 @@ private Q_SLOTS:
|
||||
void onEmulationStarted();
|
||||
void onEmulationStopped();
|
||||
void onEmulationPaused(bool paused);
|
||||
void onStateSaved(const QString& game_code, bool global, qint32 slot);
|
||||
void onSystemPerformanceCountersUpdated(float speed, float fps, float vps, float average_frame_time,
|
||||
float worst_frame_time, GPURenderer renderer, quint32 render_width,
|
||||
quint32 render_height, bool render_interlaced);
|
||||
@@ -82,6 +81,8 @@ private Q_SLOTS:
|
||||
void onChangeDiscFromGameListActionTriggered();
|
||||
void onChangeDiscMenuAboutToShow();
|
||||
void onChangeDiscMenuAboutToHide();
|
||||
void onLoadStateMenuAboutToShow();
|
||||
void onSaveStateMenuAboutToShow();
|
||||
void onCheatsMenuAboutToShow();
|
||||
void onRemoveDiscActionTriggered();
|
||||
void onViewToolbarActionToggled(bool checked);
|
||||
@@ -161,6 +162,8 @@ private:
|
||||
CheatManagerDialog* m_cheat_manager_dialog = nullptr;
|
||||
DebuggerWindow* m_debugger_window = nullptr;
|
||||
|
||||
std::string m_running_game_code;
|
||||
|
||||
bool m_emulation_running = false;
|
||||
bool m_was_paused_by_focus_loss = false;
|
||||
bool m_open_debugger_on_start = false;
|
||||
|
||||
Reference in New Issue
Block a user