aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Common/SystemInterop/DisplaySleep.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Common/SystemInterop/DisplaySleep.cs')
-rw-r--r--src/Ryujinx.Common/SystemInterop/DisplaySleep.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Ryujinx.Common/SystemInterop/DisplaySleep.cs b/src/Ryujinx.Common/SystemInterop/DisplaySleep.cs
index 5a1f66f5..4dff5410 100644
--- a/src/Ryujinx.Common/SystemInterop/DisplaySleep.cs
+++ b/src/Ryujinx.Common/SystemInterop/DisplaySleep.cs
@@ -10,7 +10,7 @@ namespace Ryujinx.Common.SystemInterop
{
ES_CONTINUOUS = 0x80000000,
ES_DISPLAY_REQUIRED = 0x00000002,
- ES_SYSTEM_REQUIRED = 0x00000001
+ ES_SYSTEM_REQUIRED = 0x00000001,
}
[LibraryImport("kernel32.dll", SetLastError = true)]
@@ -23,12 +23,12 @@ namespace Ryujinx.Common.SystemInterop
SetThreadExecutionState(EXECUTION_STATE.ES_CONTINUOUS | EXECUTION_STATE.ES_SYSTEM_REQUIRED | EXECUTION_STATE.ES_DISPLAY_REQUIRED);
}
}
-
+
static public void Restore()
{
if (OperatingSystem.IsWindows())
{
- SetThreadExecutionState(EXECUTION_STATE.ES_CONTINUOUS);
+ SetThreadExecutionState(EXECUTION_STATE.ES_CONTINUOUS);
}
}
}