mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
DolphinQt: Disable Display Sleep on Windows.
Disables Display Sleeping on Windows on DolphinQt while the game runs, and re-enables it after the game closes.
This commit is contained in:
@ -68,6 +68,9 @@ private:
|
||||
std::unique_ptr<Ui::DMainWindow> m_ui;
|
||||
DGameTracker* m_game_tracker;
|
||||
|
||||
// Misc.
|
||||
void DisableScreensaver();
|
||||
void EnableScreensaver();
|
||||
// Emulation
|
||||
QString RequestBootFilename();
|
||||
QString ShowFileDialog();
|
||||
|
Reference in New Issue
Block a user