Remove unused settings from log parsing

This commit is contained in:
clienthax 2021-11-20 16:13:06 +00:00
parent 1a5c31b344
commit 4dba36c8d4
3 changed files with 8 additions and 6 deletions

View File

@ -64,7 +64,7 @@ namespace CompatBot.EventHandlers.LogParsing
["thread scheduler"] = new(@"[Ss]cheduler( Mode)?: (?<thread_scheduler>.*?)\r?$", DefaultOptions),
["SPU Decoder:"] = new(@"SPU Decoder: (?<spu_decoder>.*?)\r?$", DefaultOptions),
["secondary cores:"] = new(@"secondary cores: (?<spu_secondary_cores>.*?)\r?$", DefaultOptions),
["priority:"] = new(@"priority: (?<spu_lower_thread_priority>.*?)\r?$", DefaultOptions),
//["priority:"] = new(@"priority: (?<spu_lower_thread_priority>.*?)\r?$", DefaultOptions),
["SPU Threads:"] = new(@"SPU Threads: (?<spu_threads>.*?)\r?$", DefaultOptions),
["SPU delay penalty:"] = new(@"SPU delay penalty: (?<spu_delay_penalty>.*?)\r?$", DefaultOptions),
["SPU loop detection:"] = new(@"SPU loop detection: (?<spu_loop_detection>.*?)\r?$", DefaultOptions),

View File

@ -144,7 +144,7 @@ namespace CompatBot.Utils.ResultFormatters
{
$"PPU Decoder:{items["ppu_decoder"],ColumnWidth-11}",
$"SPU Decoder:{items["spu_decoder"],ColumnWidth-11}",
$"SPU Lower Thread Priority:{items["spu_lower_thread_priority"],ColumnWidth-25}",
//$"SPU Lower Thread Priority:{items["spu_lower_thread_priority"],ColumnWidth-25}",
$"SPU Loop Detection:{items["spu_loop_detection"],ColumnWidth-18}",
$"Thread Scheduler:{items["thread_scheduler"],ColumnWidth-16}",
$"SPU Threads:{items["spu_threads"],ColumnWidth-11}",

View File

@ -44,9 +44,10 @@ namespace CompatBot.Utils.ResultFormatters
if (items["enable_tsx"] == "Disabled" && hasTsx)
notes.Add(" TSX support is disabled");
}
if (items["spu_lower_thread_priority"] == EnabledMark
&& threadCount > 4)
/*
if (items["spu_lower_thread_priority"] == EnabledMark && threadCount > 4)
notes.Add("❔ `Lower SPU thread priority` is enabled on a CPU with enough threads");
*/
if (items["cpu_model"] is string cpu)
{
if (cpu.StartsWith("AMD")
@ -539,8 +540,9 @@ namespace CompatBot.Utils.ResultFormatters
notes.Add("⚠ `HLE lwmutex` is enabled, might affect compatibility");
if (items["spu_block_size"] is string spuBlockSize)
{
if (spuBlockSize != "Safe")
notes.Add($"⚠ Please change `SPU Block Size` to `Safe`, currently `{spuBlockSize}` is unstable.");
// TODO warn on DES
// if (spuBlockSize != "Safe")
// notes.Add($"⚠ Please change `SPU Block Size` to `Safe`, currently `{spuBlockSize}` is unstable.");
}
if (items["auto_start_on_boot"] == DisabledMark)