mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ALL] Add read/write support for MAME Listrom format
This commit is contained in:
@@ -110,6 +110,11 @@ namespace SabreTools
|
||||
"Output in DOSCenter format",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
datFromDir.AddFeature("output-lr", new Feature(
|
||||
new List<string>() { "-olr", "--output-lr" },
|
||||
"Output in MAME Listrom format",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
datFromDir.AddFeature("output-miss", new Feature(
|
||||
new List<string>() { "-om", "--output-miss" },
|
||||
"Output in Missfile format",
|
||||
@@ -761,6 +766,11 @@ namespace SabreTools
|
||||
"Output in DOSCenter format",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
update.AddFeature("output-lr", new Feature(
|
||||
new List<string>() { "-olr", "--output-lr" },
|
||||
"Output in MAME Listrom format",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
update.AddFeature("output-miss", new Feature(
|
||||
new List<string>() { "-om", "--output-miss" },
|
||||
"Output in Missfile format",
|
||||
|
||||
@@ -448,6 +448,10 @@ namespace SabreTools
|
||||
case "--of-as-game":
|
||||
filter.IncludeOfInGame = true;
|
||||
break;
|
||||
case "-olr":
|
||||
case "--output-lr":
|
||||
datFormat |= DatFormat.Listroms;
|
||||
break;
|
||||
case "-om":
|
||||
case "--output-miss":
|
||||
datFormat |= DatFormat.MissFile;
|
||||
|
||||
Reference in New Issue
Block a user