mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Compare commits
5 Commits
v0.157
...
visual_mod
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
274c773a8b | ||
|
|
93399288bf | ||
|
|
f42b91b408 | ||
|
|
9bf7400f69 | ||
|
|
dff69d48ce |
@@ -53,12 +53,9 @@ namespace GHelper.Display
|
|||||||
{
|
{
|
||||||
Dictionary<SplendidGamut, string> _modes = new Dictionary<SplendidGamut, string>();
|
Dictionary<SplendidGamut, string> _modes = new Dictionary<SplendidGamut, string>();
|
||||||
|
|
||||||
if (!Directory.Exists("C:\\ProgramData\\ASUS\\GameVisual")) return _modes;
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
DirectoryInfo d = new DirectoryInfo("C:\\ProgramData\\ASUS\\GameVisual");
|
DirectoryInfo d = new DirectoryInfo("C:\\ProgramData\\ASUS\\GameVisual");
|
||||||
FileInfo[] icms = d.GetFiles("*.icm");
|
FileInfo[] icms = d.GetFiles("*.icm");
|
||||||
|
|
||||||
if (icms.Length == 0) return _modes;
|
if (icms.Length == 0) return _modes;
|
||||||
|
|
||||||
_modes.Add(SplendidGamut.Native, "Gamut - Native");
|
_modes.Add(SplendidGamut.Native, "Gamut - Native");
|
||||||
@@ -70,11 +67,6 @@ namespace GHelper.Display
|
|||||||
}
|
}
|
||||||
return _modes;
|
return _modes;
|
||||||
}
|
}
|
||||||
catch {
|
|
||||||
return _modes;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Dictionary<SplendidCommand, string> GetVisualModes()
|
public static Dictionary<SplendidCommand, string> GetVisualModes()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user