Separated CD decoders by type.

This commit is contained in:
2015-10-19 02:40:30 +01:00
parent 7864f72481
commit 4457479471
12 changed files with 1974 additions and 1610 deletions

View File

@@ -1,3 +1,8 @@
2015-10-19 Natalia Portillo <claunia@claunia.com>
* Commands/Decode.cs:
Separated CD decoders by type.
2015-10-19 Natalia Portillo <claunia@claunia.com>
* Commands/DeviceInfo.cs:

View File

@@ -124,7 +124,7 @@ namespace DiscImageChef.Commands
{
DicConsole.WriteLine("CD ATIP:");
DicConsole.WriteLine("================================================================================");
DicConsole.WriteLine(Decoders.CD.PrettifyCDATIP(atip));
DicConsole.WriteLine(Decoders.CD.ATIP.PrettifyCDATIP(atip));
DicConsole.WriteLine("================================================================================");
}
break;
@@ -138,7 +138,7 @@ namespace DiscImageChef.Commands
{
DicConsole.WriteLine("CD full TOC:");
DicConsole.WriteLine("================================================================================");
DicConsole.WriteLine(Decoders.CD.PrettifyCDFullTOC(fulltoc));
DicConsole.WriteLine(Decoders.CD.FullTOC.PrettifyCDFullTOC(fulltoc));
DicConsole.WriteLine("================================================================================");
}
break;
@@ -152,7 +152,7 @@ namespace DiscImageChef.Commands
{
DicConsole.WriteLine("CD PMA:");
DicConsole.WriteLine("================================================================================");
DicConsole.WriteLine(Decoders.CD.PrettifyCDPMA(pma));
DicConsole.WriteLine(Decoders.CD.PMA.PrettifyCDPMA(pma));
DicConsole.WriteLine("================================================================================");
}
break;
@@ -166,7 +166,7 @@ namespace DiscImageChef.Commands
{
DicConsole.WriteLine("CD session information:");
DicConsole.WriteLine("================================================================================");
DicConsole.WriteLine(Decoders.CD.PrettifyCDSessionInfo(sessioninfo));
DicConsole.WriteLine(Decoders.CD.Session.PrettifyCDSessionInfo(sessioninfo));
DicConsole.WriteLine("================================================================================");
}
break;
@@ -180,7 +180,7 @@ namespace DiscImageChef.Commands
{
DicConsole.WriteLine("CD-TEXT:");
DicConsole.WriteLine("================================================================================");
DicConsole.WriteLine(Decoders.CD.PrettifyCDTextLeadIn(cdtext));
DicConsole.WriteLine(Decoders.CD.CDTextOnLeadIn.PrettifyCDTextLeadIn(cdtext));
DicConsole.WriteLine("================================================================================");
}
break;
@@ -194,7 +194,7 @@ namespace DiscImageChef.Commands
{
DicConsole.WriteLine("CD TOC:");
DicConsole.WriteLine("================================================================================");
DicConsole.WriteLine(Decoders.CD.PrettifyCDTOC(toc));
DicConsole.WriteLine(Decoders.CD.TOC.PrettifyCDTOC(toc));
DicConsole.WriteLine("================================================================================");
}
break;