Ensure blanks during D2D are handled properly (fixes #80)

This commit is contained in:
Matt Nadareski
2024-10-22 13:05:51 -04:00
parent f59d754623
commit 0c65e5b588
4 changed files with 33 additions and 29 deletions

View File

@@ -378,7 +378,7 @@ namespace SabreTools.DatTools
var blankMachine = new Machine();
blankMachine.SetFieldValue<string?>(Models.Metadata.Machine.NameKey, gamename);
var blankRom = new Rom();
var blankRom = new Blank();
blankRom.SetName(romname);
blankRom.SetFieldValue<Machine?>(DatItem.MachineKey, blankMachine);