mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-30 04:54:20 +01:00
More edits to program entry file
This commit is contained in:
parent
e86113f27b
commit
ffbcdb21b3
@ -2,7 +2,7 @@
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Diagnostics;
|
using Process = System.Diagnostics.Process;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Runtime;
|
using System.Runtime;
|
||||||
@ -74,12 +74,9 @@ namespace DS4Windows
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
Process.GetCurrentProcess().PriorityClass =
|
Process.GetCurrentProcess().PriorityClass =
|
||||||
ProcessPriorityClass.High;
|
System.Diagnostics.ProcessPriorityClass.High;
|
||||||
}
|
|
||||||
catch
|
|
||||||
{
|
|
||||||
// Ignore problems raising the priority.
|
|
||||||
}
|
}
|
||||||
|
catch { } // Ignore problems raising the priority.
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user