Fix info printing

This commit is contained in:
Deterous
2023-11-30 12:36:24 +13:00
parent 4b0d796bd2
commit 7f9fd1c9d6
5 changed files with 30 additions and 9 deletions
+1 -1
View File
@@ -1334,7 +1334,7 @@ namespace LibIRD
json.AppendLine($" \"Extra Config\": \"{ExtraConfig:X4}\",");
if (Attachments != 0x0000)
json.AppendLine($" \"Attachments\": \"{Attachments:X4}\",");
json.AppendLine($" \"Unique ID\": \"{UID:X8}");
json.AppendLine($" \"Unique ID\": \"{UID:X8}\",");
json.AppendLine($" \"Data 1 Key\": \"{Convert.ToHexString(Data1Key)}\",");
json.AppendLine($" \"Data 2 Key\": \"{Convert.ToHexString(Data2Key)}\",");
json.AppendLine($" \"PIC\": \"{Convert.ToHexString(PIC)}\"");
+1 -1
View File
@@ -6,7 +6,7 @@
<RuntimeIdentifiers>win-x86;win-x64;win-arm64;linux-x64;linux-arm64;osx-x64;osx-arm64</RuntimeIdentifiers>
<LangVersion>latest</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Version>0.2.0</Version>
<Version>0.2.1</Version>
<!-- Package Properties -->
<Authors>Deterous</Authors>
+1 -1
View File
@@ -132,7 +132,7 @@ namespace LibIRD
// Build string from parameters
StringBuilder printText = new();
printText.AppendLine("PARAM.SFO Contents:");
printText.AppendLine("====================");
printText.AppendLine("===================");
// Loop through all parameters in PARAM.SFO
foreach (KeyValuePair<string, string> field in Field)