mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Merge pull request #1170 from Oleg52/force-set-gpu-mode
add force set gpu param
This commit is contained in:
@@ -371,4 +371,8 @@ public static class AppConfig
|
||||
return Is("gpu_fix") || (ContainsModel("GA402X") && IsNotFalse("gpu_fix"));
|
||||
}
|
||||
|
||||
public static bool IsForceSetGPUMode()
|
||||
{
|
||||
return Is("gpu_mode_force_set") || ContainsModel("503");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -201,7 +201,7 @@ namespace GHelper.Gpu
|
||||
{
|
||||
|
||||
bool GpuAuto = AppConfig.Is("gpu_auto");
|
||||
bool ForceGPU = AppConfig.ContainsModel("503");
|
||||
bool ForceGPU = AppConfig.IsForceSetGPUMode();
|
||||
|
||||
int GpuMode = AppConfig.Get("gpu_mode");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user