summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/FrameTools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
-rw-r--r--Source/Core/DolphinWX/FrameTools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp
index 929e435bd9..28bce659e3 100644
--- a/Source/Core/DolphinWX/FrameTools.cpp
+++ b/Source/Core/DolphinWX/FrameTools.cpp
@@ -744,7 +744,7 @@ void CFrame::StartGame(std::unique_ptr<BootParameters> boot)
}
else
{
- InhibitScreensaver();
+ EnableScreenSaver(false);
// We need this specifically to support setting the focus properly when using
// the 'render to main window' feature on Windows
@@ -931,7 +931,7 @@ void CFrame::OnStopped()
m_tried_graceful_shutdown = false;
wxPostEvent(GetMenuBar(), wxCommandEvent{DOLPHIN_EVT_UPDATE_LOAD_WII_MENU_ITEM});
- UninhibitScreensaver();
+ EnableScreenSaver(true);
m_render_frame->SetTitle(StrToWxStr(Common::scm_rev_str));