mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-02-01 12:03:30 +00:00
Merge 352756ec6d into dd65ef4749
This commit is contained in:
commit
52bf07bf19
@ -329,6 +329,10 @@ GMainWindow::GMainWindow(Core::System& system_)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
SetPriorityClass(GetCurrentProcess(), ABOVE_NORMAL_PRIORITY_CLASS);
|
||||
#endif
|
||||
|
||||
#ifdef __unix__
|
||||
SetGamemodeEnabled(Settings::values.enable_gamemode.GetValue());
|
||||
#endif
|
||||
|
||||
@ -463,6 +463,10 @@ int LaunchSdlFrontend(int argc, char** argv) {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
SetPriorityClass(GetCurrentProcess(), ABOVE_NORMAL_PRIORITY_CLASS);
|
||||
#endif
|
||||
|
||||
#ifdef __unix__
|
||||
Common::Linux::StartGamemode();
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user