fix GUID parsing on T6
This commit is contained in:
parent
c6c2ec7784
commit
cbfb3919fc
@ -282,7 +282,10 @@ namespace SharedLibraryCore
|
|||||||
// this is a special case for Plutonium T6 and CoD4x
|
// this is a special case for Plutonium T6 and CoD4x
|
||||||
if (long.TryParse(str, NumberStyles.Integer, CultureInfo.InvariantCulture, out long id))
|
if (long.TryParse(str, NumberStyles.Integer, CultureInfo.InvariantCulture, out long id))
|
||||||
{
|
{
|
||||||
|
if (id < 0)
|
||||||
|
{
|
||||||
|
id = (uint)id;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (long.TryParse(str, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out id))
|
else if (long.TryParse(str, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out id))
|
||||||
|
Loading…
Reference in New Issue
Block a user