From daa4ec54dd4e2d106a02f4d7c69abdc56a27b2c3 Mon Sep 17 00:00:00 2001 From: attractivo Date: Sun, 22 May 2016 22:28:56 +0200 Subject: [PATCH] undeleting needed lines --- DATabase/MergeDiff.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/DATabase/MergeDiff.cs b/DATabase/MergeDiff.cs index 36762ed7..dab2e2fe 100644 --- a/DATabase/MergeDiff.cs +++ b/DATabase/MergeDiff.cs @@ -117,6 +117,7 @@ namespace SabreTools ForcePacking = (_forceunpack ? ForcePacking.Unzip : ForcePacking.None), OutputFormat = (_old ? OutputFormat.ClrMamePro : OutputFormat.Xml), MergeRoms = _dedup, + Roms = new Dictionary>(), Type = (_superdat ? "SuperDAT" : ""), }; foreach (string input in _inputs) @@ -144,6 +145,7 @@ namespace SabreTools ForcePacking = (_forceunpack ? ForcePacking.Unzip : ForcePacking.None), OutputFormat = (_old ? OutputFormat.ClrMamePro : OutputFormat.Xml), MergeRoms = _dedup, + Roms = new Dictionary>(), }; foreach (string key in userData.Roms.Keys) { @@ -187,6 +189,7 @@ namespace SabreTools ForcePacking = (_forceunpack ? ForcePacking.Unzip : ForcePacking.None), OutputFormat = (_old ? OutputFormat.ClrMamePro : OutputFormat.Xml), MergeRoms = _dedup, + Roms = new Dictionary>(), }; foreach (string key in outerDiffData.Roms.Keys) @@ -225,6 +228,7 @@ namespace SabreTools ForcePacking = (_forceunpack ? ForcePacking.Unzip : ForcePacking.None), OutputFormat = (_old ? OutputFormat.ClrMamePro : OutputFormat.Xml), MergeRoms = _dedup, + Roms = new Dictionary>(), }; foreach (string key in userData.Roms.Keys) { @@ -269,6 +273,7 @@ namespace SabreTools ForcePacking = (_forceunpack ? ForcePacking.Unzip : ForcePacking.None), OutputFormat = (_old ? OutputFormat.ClrMamePro : OutputFormat.Xml), MergeRoms = _dedup, + Roms = new Dictionary>(), }; List keys = userData.Roms.Keys.ToList();