This commit is contained in:
13xforever 2023-04-16 13:48:29 +05:00
parent 445bad95c7
commit 468728c7f0
No known key found for this signature in database
GPG Key ID: 2B2A36B482FE70C5
2 changed files with 19 additions and 5 deletions

View File

@ -276,7 +276,7 @@ internal static partial class LogParserResult
if (accurateXfloat == EnabledMark)
{
if (!KnownGamesThatRequireAccurateXfloat.Contains(serial))
notes.Add(" `Accurate xfloat` is not required, and significantly impacts performance");
notes.Add(" `Accurate xfloat` is not required, and significantly impacts performance");
}
else
{
@ -944,15 +944,27 @@ internal static partial class LogParserResult
notes.Add("⚠️ Please disable `Force CPU Blit`");
if (items["read_color_buffers"] == DisabledMark)
notes.Add("⚠️ Please enable `Read Color Buffers`");
if (ppuPatches.Any() && patchNames.Count(n => n.Contains("depth buffer", StringComparison.OrdinalIgnoreCase)) > 1) // when all (two) depth buffer patches are applied
var depthBufferPatchesAreApplied = ppuPatches.Any() && patchNames.Count(n => n.Contains("depth buffer", StringComparison.OrdinalIgnoreCase)) > 1;
if (items["build_branch"] is "HEAD" or "master"
&& Version.TryParse(items["build_full_version"], out var buildVersion)
&& buildVersion < FixedTlouRcbBuild)
{
if (items["read_depth_buffer"] == EnabledMark)
notes.Add("⚠️ `Read Depth Buffer` is not required with applied patches");
{
if (depthBufferPatchesAreApplied)
notes.Add("⚠️ `Read Depth Buffer` is not required with applied patches");
}
else
{
if (!depthBufferPatchesAreApplied)
notes.Add("⚠️ Please enable `Read Depth Buffer` or appropriate patches");
}
}
else
{
if (items["read_depth_buffer"] == DisabledMark)
notes.Add("⚠️ Please enable `Read Depth Buffer` or appropriate patches");
if (items["read_depth_buffer"] == EnabledMark)
notes.Add("⚠️ `Read Depth Buffer` is not required");
}
if (ppuPatches.Any() && patchNames.Any(n => n.Contains("MLAA", StringComparison.OrdinalIgnoreCase))) // when MLAA patch is applied
{

View File

@ -74,6 +74,8 @@ internal static partial class LogParserResult
private static readonly Version IntelThreadSchedulerBuildVersion = new(0, 0, 15, 12008);
private static readonly Version PsnDiscFixBuildVersion = new(0, 0, 18, 12783);
private static readonly Version CubebBuildVersion = new(0, 0, 19, 13050);
private static readonly Version FixedTlouRcbBuild = new Version(0, 0, 21, 13432); // the best I got was "it was fixed more than a year ago", so it's just a random build from a year ago
private static readonly Dictionary<string, string> RsxPresentModeMap = new()