From 26d2081b272a3a2a953f5f9fa808f598e4bfdb54 Mon Sep 17 00:00:00 2001 From: 13xforever Date: Fri, 20 Nov 2020 16:00:28 +0500 Subject: [PATCH] update 3rd party deps, add sanity check --- IrdLibraryClient/IrdLibraryClient.csproj | 4 ++-- Ps3DiscDumper/Dumper.cs | 5 ++++- UI.WinForms.Msil/UI.WinForms.Msil.csproj | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/IrdLibraryClient/IrdLibraryClient.csproj b/IrdLibraryClient/IrdLibraryClient.csproj index 207b45c..978e1de 100644 --- a/IrdLibraryClient/IrdLibraryClient.csproj +++ b/IrdLibraryClient/IrdLibraryClient.csproj @@ -15,8 +15,8 @@ - - + + diff --git a/Ps3DiscDumper/Dumper.cs b/Ps3DiscDumper/Dumper.cs index 170a42e..07c4242 100644 --- a/Ps3DiscDumper/Dumper.cs +++ b/Ps3DiscDumper/Dumper.cs @@ -21,7 +21,7 @@ namespace Ps3DiscDumper { public class Dumper: IDisposable { - public const string Version = "3.0.8"; + public const string Version = "3.0.9"; private static readonly HashSet InvalidChars = new HashSet(Path.GetInvalidFileNameChars()); private static readonly char[] MultilineSplit = {'\r', '\n'}; @@ -313,6 +313,9 @@ public async Task FindDiscKeyAsync(string discKeyCachePath) var clusterRange = discReader.PathToClusters(path); detectionRecord = new FileRecord(path, clusterRange.Min(r => r.Offset), discReader.GetFileLength(path)); expectedBytes = Detectors[path]; + if (detectionRecord.Length == 0) + continue; + Log.Debug($"Using {path} for disc key detection"); break; } diff --git a/UI.WinForms.Msil/UI.WinForms.Msil.csproj b/UI.WinForms.Msil/UI.WinForms.Msil.csproj index 71f5340..2b748be 100644 --- a/UI.WinForms.Msil/UI.WinForms.Msil.csproj +++ b/UI.WinForms.Msil/UI.WinForms.Msil.csproj @@ -16,10 +16,10 @@ 1.2.0 - 0.15.1-ci0002 + 0.16.0-alpha0020 - 1.14.0 + 1.15.0 1.1.0