Merge pull request #119 from 13xforever/vnext

Small fixes
This commit is contained in:
Ilya 2018-11-05 23:49:57 +05:00 committed by GitHub
commit d28bcf4d44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -116,7 +116,7 @@ namespace CompatBot.EventHandlers.LogParsing
@"RSX: (?<driver_manuf>.*?)\r?\n[^\n]*?" +
@"RSX: Supported texel buffer size", DefaultOptions),
["GL RENDERER:"] = new Regex(@"GL RENDERER: (?<driver_manuf_new>.*?)\r?$", DefaultOptions),
["GL VERSION:"] = new Regex(@"GL VERSION: (?<opengl_version>(\d|\.)+)(\d|\.|\s|\w|-)*( (?<driver_version_new>(\d+\.)*\d+))?\r?$", DefaultOptions),
["GL VERSION:"] = new Regex(@"GL VERSION: (?<opengl_version>(\d|\.)+)(\d|\.|\s|\w|-)*?( (?<driver_version_new>(\d+\.)*\d+))?\r?$", DefaultOptions),
["GLSL VERSION:"] = new Regex(@"GLSL VERSION: (?<glsl_version>(\d|\.)+).*?\r?$", DefaultOptions),
["texel buffer size reported:"] = new Regex(@"RSX: Supported texel buffer size reported: (?<texel_buffer_size_new>\d*?) bytes", DefaultOptions),
["Physical device intialized"] = new Regex(@"Physical device intialized\. GPU=(?<vulkan_gpu>.+), driver=(?<vulkan_driver_version_raw>-?\d+)\r?$", DefaultOptions),

View File

@ -342,6 +342,9 @@ namespace CompatBot.Utils.ResultFormatters
Config.Log.Warn(e, "Failed to get IRD files for " + productCode);
return false;
}
if (knownFiles.Count == 0)
return false;
var broken = missingFiles.Any(knownFiles.Contains);
if (broken)
return true;