mirror of
https://github.com/SabreTools/SabreTools.RedumpLib.git
synced 2026-07-08 18:16:25 +00:00
Don't trim universal hash anymore
This commit is contained in:
@@ -53,15 +53,8 @@ namespace SabreTools.RedumpLib.Tools
|
||||
if (string.IsNullOrEmpty(universalHash))
|
||||
return null;
|
||||
|
||||
// Format the universal hash for finding within the comments
|
||||
#if NETCOREAPP || NETSTANDARD2_1_OR_GREATER
|
||||
string universalHashQuery = universalHash![..^1];
|
||||
#else
|
||||
string universalHashQuery = universalHash!.Substring(0, universalHash.Length - 1);
|
||||
#endif
|
||||
|
||||
// Get all matching IDs for the hash
|
||||
var newIds = await client.ListDiscsResults(comments: universalHashQuery);
|
||||
var newIds = await client.ListDiscsResults(comments: universalHash);
|
||||
|
||||
// If we got null back, there was an error
|
||||
if (newIds is null)
|
||||
|
||||
Reference in New Issue
Block a user