mirror of
https://github.com/RPCS3/discord-bot.git
synced 2025-01-26 04:34:39 +00:00
log note for the sleep timer accuracy mode for nier
This commit is contained in:
parent
9a559fccdf
commit
b1009a9362
@ -78,6 +78,8 @@ namespace CompatBot.EventHandlers.LogParsing
|
||||
["Hook static functions:"] = new Regex(@"Hook static functions: (?<hook_static_functions>.*?)\r?$", DefaultOptions),
|
||||
["Load libraries:"] = new Regex(@"libraries:\r?\n(?<library_list>(.*?(- .*?|\[\])\r?\n)+)", DefaultOptions),
|
||||
["HLE lwmutex:"] = new Regex(@"HLE lwmutex: (?<hle_lwmutex>.*?)\r?$", DefaultOptions),
|
||||
["Clocks scale:"] = new Regex(@"Clocks scale: (?<clock_scale>.*?)\r?$", DefaultOptions),
|
||||
["Sleep timers accuracy:"] = new Regex(@"Sleep timers accuracy: (?<sleep_timer>.*?)\r?$", DefaultOptions),
|
||||
},
|
||||
EndTrigger = new[] {"VFS:"},
|
||||
},
|
||||
|
@ -140,9 +140,12 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
if (items["vblank_rate"] is string vblank
|
||||
&& int.TryParse(vblank, out var vblankRate)
|
||||
&& vblankRate != 60)
|
||||
{
|
||||
notes.Add($"ℹ `VBlank Rate` is set to {vblankRate} Hz");
|
||||
}
|
||||
|
||||
if (items["clock_scale"] is string clockScaleStr
|
||||
&& int.TryParse(clockScaleStr, out var clockScale)
|
||||
&& clockScale != 100)
|
||||
notes.Add($"⚠ `Clock Scale` is set to {clockScale}%");
|
||||
|
||||
if (!string.IsNullOrEmpty(serial)
|
||||
&& KnownMotionControlsIds.Contains(serial)
|
||||
@ -332,6 +335,10 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
|
||||
if (serial == "BLJM60223" && items["native_ui"] == EnabledMark)
|
||||
notes.Add("ℹ To enter the character name, disable `Native UI` and use Japanese text");
|
||||
|
||||
if (items["sleep_timer"] is string sleepTimer
|
||||
&& sleepTimer != "Usleep")
|
||||
notes.Add("⚠ Please set `Sleep timers accuracy` to `Usleep` in config file");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user