Resolve requested changes

This commit is contained in:
jduncanator 2019-11-25 10:37:58 +11:00 committed by GitHub
commit 08c747cee1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ namespace Ryujinx.HLE.HOS.Services.Prepo
bool isValue = false; bool isValue = false;
string fieldStr = ""; string fieldStr = string.Empty;
while (stream.Position != stream.Length) while (stream.Position != stream.Length)
{ {
@ -164,7 +164,7 @@ namespace Ryujinx.HLE.HOS.Services.Prepo
fieldStr += $", Value: {value}"; fieldStr += $", Value: {value}";
} }
// TODO: Find why there is no alpha-numeric value sometimes. // TODO(Ac_k): Determine why there are non-alphanumeric values sometimes.
if (rawValues.Length > 0) if (rawValues.Length > 0)
{ {
fieldStr += $", RawValue: 0x{BitConverter.ToString(rawValues).Replace("-", "")}"; fieldStr += $", RawValue: 0x{BitConverter.ToString(rawValues).Replace("-", "")}";
@ -185,4 +185,4 @@ namespace Ryujinx.HLE.HOS.Services.Prepo
return sb.ToString(); return sb.ToString();
} }
} }
} }