Skip to content

Commit

Permalink
Update 3.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
vektor9999 committed Jul 9, 2023
1 parent 4c4b7fd commit d5a9ce2
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 3 deletions.
1 change: 1 addition & 0 deletions Vcc.Nolvus.Core/Interfaces/ISettingsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public interface ISettingsService : INolvusService
string GetIniValue(string File, string Section, string Parameter);
int ProcessCount { get; }
int RetryCount { get; }
bool ForceAA { get; }
}
}
2 changes: 1 addition & 1 deletion Vcc.Nolvus.Dashboard/Frames/Installer/PerformanceFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ protected override void OnLoad()

DrpDwnLstAntiAliasing.DataSource = AntiAliasing;

if (!IsNvidiaRTX())
if (!IsNvidiaRTX() && !ServiceSingleton.Settings.ForceAA)
{
ServiceSingleton.Instances.WorkingInstance.Performance.AntiAliasing = "TAA";
DrpDwnLstAntiAliasing.Enabled = false;
Expand Down
3 changes: 3 additions & 0 deletions Vcc.Nolvus.Dashboard/Frames/Settings/NolvusFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ public partial class NolvusFrame : DashboardFrame
[Process]
Count = {4}
Retry = 10
[Misc]
ForceAA=False
";

public NolvusFrame()
Expand Down
4 changes: 2 additions & 2 deletions Vcc.Nolvus.Dashboard/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3.4")]
[assembly: AssemblyFileVersion("3.3.4.0")]
[assembly: AssemblyVersion("3.3.5")]
[assembly: AssemblyFileVersion("3.3.5.0")]
18 changes: 18 additions & 0 deletions Vcc.Nolvus.Services/Settings/SettingsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public class SettingsService : ISettingsService
public const string ProcessSection = "Process";
public const string Count = "Count";
public const string Retry = "Retry";
public const string MiscSection = "Misc";
public const string ForceAntiAliasing = "ForceAA";

public void StoreIniValue(string Section, string Parameter, string Value)
{
Expand Down Expand Up @@ -105,5 +107,21 @@ public int RetryCount
}
}
}

public bool ForceAA
{
get
{
try
{
return System.Convert.ToBoolean(GetIniValue(MiscSection, ForceAntiAliasing));

}
catch
{
return false;
}
}
}
}
}

0 comments on commit d5a9ce2

Please sign in to comment.