update log parser for new sdl handler logs

This commit is contained in:
13xforever
2025-12-01 03:57:42 +05:00
parent 6a80516347
commit 789f5fe9c9
2 changed files with 2 additions and 2 deletions

View File

@@ -245,7 +245,7 @@ internal partial class LogParser
["undub"] = UndubFlag(),
["CFBR_DLC"] = Ncaa14RevampedModFlag(),
["Input: Pad"] = InputDeviceGamepad(),
["SDL: Found game controller"] = SdlControllerName(),
["SDL: Found game"] = SdlControllerName(),
["cellSaveData: cellSaveDataGetListItem"] = SaveDataBeforeSegfault(),
["SYS: Failed to remove save data"] = FailedToRemoveSaveData(),
["Trophy: Failed to remove"] = FailedToRemoveTrophy(),

View File

@@ -373,7 +373,7 @@ internal partial class LogParser
private static partial Regex Ncaa14RevampedModFlag();
[GeneratedRegex(@"Input: Pad (?<pad_id>\d): device='(?<pad_controller_name>(?!Null).+?)', handler=(?<pad_handler>.+?), VID=.+?$", DefaultOptions)]
private static partial Regex InputDeviceGamepad();
[GeneratedRegex(@"Found game controller \d: .+ has_accel=(?<pad_has_accel>.+?), has_gyro=(?<pad_has_gyro>[^\r\n]+?)\r?$", DefaultOptions)]
[GeneratedRegex(@"Found game (controller|pad) \d: .+ has_accel=(?<pad_has_accel>.+?), has_gyro=(?<pad_has_gyro>[^\r\n]+?)\r?$", DefaultOptions)]
private static partial Regex SdlControllerName();
[GeneratedRegex(@"Failed to remove save data.+: .+(?<bad_save_data_path>/dev_hdd0/.+) \(.+\)\r?$", DefaultOptions)]
private static partial Regex FailedToRemoveSaveData();