mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 18:05:46 +00:00
implement pause on system suspend (#8585)
This commit is contained in:
parent
ea861cc1c4
commit
b7642cff36
2 changed files with 43 additions and 1 deletions
|
@ -204,7 +204,7 @@ private:
|
|||
void ConnectMenuEvents();
|
||||
void UpdateMenuState();
|
||||
|
||||
MultiplayerState* multiplayer_state = nullptr;
|
||||
void SetupPrepareForSleep();
|
||||
|
||||
void PreventOSSleep();
|
||||
void AllowOSSleep();
|
||||
|
@ -265,6 +265,7 @@ private slots:
|
|||
void OnPauseGame();
|
||||
void OnPauseContinueGame();
|
||||
void OnStopGame();
|
||||
void OnPrepareForSleep(bool prepare_sleep);
|
||||
void OnMenuReportCompatibility();
|
||||
void OnOpenModsPage();
|
||||
void OnOpenQuickstartGuide();
|
||||
|
@ -355,6 +356,8 @@ private:
|
|||
std::unique_ptr<DiscordRPC::DiscordInterface> discord_rpc;
|
||||
std::shared_ptr<InputCommon::InputSubsystem> input_subsystem;
|
||||
|
||||
MultiplayerState* multiplayer_state = nullptr;
|
||||
|
||||
GRenderWindow* render_window;
|
||||
GameList* game_list;
|
||||
LoadingScreen* loading_screen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue