change severity for psf fatal error

This commit is contained in:
13xforever 2019-08-13 01:52:57 +05:00
parent 383cacfe4b
commit 5192bfcc41

View File

@ -33,7 +33,7 @@ namespace CompatBot.Utils.ResultFormatters
var context = items["fatal_error_context"] ?? "";
builder.AddField("Fatal Error", $"```{fatalError.Trim(1022)}```");
if (fatalError.Contains("psf.cpp") || fatalError.Contains("invalid map<K, T>") || context.Contains("SaveData"))
notes.Add("⚠ Game save data might be corrupted");
notes.Add("❌ Game save data might is corrupted");
else if (fatalError.Contains("Could not bind OpenGL context"))
notes.Add("❌ GPU or installed GPU drivers do not support OpenGL 4.3");
else if (fatalError.Contains("file is null"))