mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 21:47:23 +00:00
[host] boost the priority to realtime (run as admin required)
This commit is contained in:
parent
8dec59f3ff
commit
9e75c7ab34
@ -50,6 +50,7 @@ struct StartupArgs
|
|||||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdParam, int iCmdShow)
|
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdParam, int iCmdShow)
|
||||||
{
|
{
|
||||||
CrashHandler::Initialize();
|
CrashHandler::Initialize();
|
||||||
|
SetPriorityClass(GetCurrentProcess(), REALTIME_PRIORITY_CLASS);
|
||||||
|
|
||||||
struct StartupArgs args;
|
struct StartupArgs args;
|
||||||
args.foreground = false;
|
args.foreground = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user