mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Structs] Add Machine struct
This commit is contained in:
@@ -538,7 +538,10 @@ namespace SabreTools.Helper
|
||||
{
|
||||
Type = "rom",
|
||||
Name = reader.Entry.Key,
|
||||
Game = gamename,
|
||||
Game = new Machine
|
||||
{
|
||||
Name = gamename,
|
||||
},
|
||||
HashData = new HashData
|
||||
{
|
||||
Size = (size == 0 ? reader.Entry.Size : size),
|
||||
@@ -618,7 +621,10 @@ namespace SabreTools.Helper
|
||||
Rom rom = new Rom
|
||||
{
|
||||
Type = "rom",
|
||||
Game = Path.GetFileNameWithoutExtension(input).ToLowerInvariant(),
|
||||
Game = new Machine
|
||||
{
|
||||
Name = Path.GetFileNameWithoutExtension(input).ToLowerInvariant(),
|
||||
},
|
||||
Name = Path.GetFileNameWithoutExtension(input).ToLowerInvariant(),
|
||||
HashData = new HashData
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user