mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 10:19:01 +00: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:
parent
8f13d50a4e
commit
b2e4019383
2 changed files with 21 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue