Add listrom deserialization test, fix issues

This commit is contained in:
Matt Nadareski
2023-07-13 17:52:25 -04:00
parent 025bea69a1
commit d55f35d3fc
7 changed files with 257 additions and 8 deletions

View File

@@ -0,0 +1,21 @@
namespace SabreTools.Models.Listrom
{
/// <summary>
/// ROMs required for driver "testdriver".
/// Name Size Checksum
/// abcd.bin 1024 CRC(00000000) SHA1(da39a3ee5e6b4b0d3255bfef95601890afd80709)
/// efgh.bin 1024 BAD CRC(00000000) SHA1(da39a3ee5e6b4b0d3255bfef95601890afd80709) BAD_DUMP
/// ijkl.bin 1024 NO GOOD DUMP KNOWN
/// abcd SHA1(da39a3ee5e6b4b0d3255bfef95601890afd80709)
/// efgh BAD SHA1(da39a3ee5e6b4b0d3255bfef95601890afd80709) BAD_DUMP
/// ijkl NO GOOD DUMP KNOWN
/// </summary>
public class Set
{
public string? Driver { get; set; }
public string? Device { get; set; }
public Row[]? Row { get; set; }
}
}