mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Use DatData for everything; read header elements
Reading the header elements will come in handy for when built-in parse and generate code will take care of converting from any format to any format.
This commit is contained in:
@@ -34,9 +34,12 @@ namespace SabreTools
|
||||
long size = 0;
|
||||
foreach (string filename in inputs)
|
||||
{
|
||||
Dictionary<string, List<RomData>> roms = new Dictionary<string, List<RomData>>();
|
||||
roms = RomManipulation.ParseDict(filename, 0, 0, roms, logger);
|
||||
foreach (List<RomData> romlist in roms.Values)
|
||||
DatData datdata = new DatData
|
||||
{
|
||||
Roms = new Dictionary<string, List<RomData>>(),
|
||||
};
|
||||
datdata = RomManipulation.ParseDict(filename, 0, 0, datdata, logger);
|
||||
foreach (List<RomData> romlist in datdata.Roms.Values)
|
||||
{
|
||||
foreach (RomData rom in romlist)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user