mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-09-05 06:48:27 +00:00
[host] boost the priority to realtime (run as admin required)
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user