Print filename for ISO info, remove trailing comma for JSON
This commit is contained in:
@@ -103,11 +103,14 @@ namespace LibIRD
|
||||
/// Prints formatted parameters extracted from PS3_DISC.SFB to console
|
||||
/// </summary>
|
||||
/// <param name="printPath">Optionally print to text file</param>
|
||||
public void Print(string printPath = null)
|
||||
public void Print(string printPath = null, string isoName = null)
|
||||
{
|
||||
// Build string from parameters
|
||||
StringBuilder printText = new();
|
||||
printText.AppendLine("PS3_DISC.SFB Contents:");
|
||||
if (isoName != null)
|
||||
printText.AppendLine($"PS3_DISC.SFB Contents: {isoName}");
|
||||
else
|
||||
printText.AppendLine("PS3_DISC.SFB Contents:");
|
||||
printText.AppendLine("======================");
|
||||
|
||||
// Loop through all parameters in PARAM.SFO
|
||||
|
||||
Reference in New Issue
Block a user