mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix extension overlap (fixes #15)
This commit is contained in:
@@ -5679,13 +5679,15 @@ namespace SabreTools.Library.DatFiles
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Missfile
|
// Missfile
|
||||||
if ((DatFormat & DatFormat.MissFile) != 0
|
if (((DatFormat & DatFormat.MissFile) != 0)
|
||||||
&& (DatFormat & DatFormat.AttractMode) == 0)
|
&& (DatFormat & DatFormat.AttractMode) == 0
|
||||||
|
&& (DatFormat & DatFormat.Listrom) == 0)
|
||||||
{
|
{
|
||||||
outfileNames.Add(DatFormat.MissFile, CreateOutfileNamesHelper(outDir, ".txt", overwrite));
|
outfileNames.Add(DatFormat.MissFile, CreateOutfileNamesHelper(outDir, ".txt", overwrite));
|
||||||
}
|
}
|
||||||
if ((DatFormat & DatFormat.MissFile) != 0
|
if (((DatFormat & DatFormat.MissFile) != 0
|
||||||
&& (DatFormat & DatFormat.AttractMode) != 0)
|
&& ((DatFormat & DatFormat.AttractMode) != 0
|
||||||
|
|| (DatFormat & DatFormat.Listrom) != 0)))
|
||||||
{
|
{
|
||||||
outfileNames.Add(DatFormat.MissFile, CreateOutfileNamesHelper(outDir, ".miss.txt", overwrite));
|
outfileNames.Add(DatFormat.MissFile, CreateOutfileNamesHelper(outDir, ".miss.txt", overwrite));
|
||||||
}
|
}
|
||||||
@@ -5787,12 +5789,14 @@ namespace SabreTools.Library.DatFiles
|
|||||||
// Everdrive SMDB
|
// Everdrive SMDB
|
||||||
if ((DatFormat & DatFormat.EverdriveSMDB) != 0
|
if ((DatFormat & DatFormat.EverdriveSMDB) != 0
|
||||||
&& (DatFormat & DatFormat.AttractMode) == 0
|
&& (DatFormat & DatFormat.AttractMode) == 0
|
||||||
|
&& (DatFormat & DatFormat.Listrom) == 0
|
||||||
&& (DatFormat & DatFormat.MissFile) == 0)
|
&& (DatFormat & DatFormat.MissFile) == 0)
|
||||||
{
|
{
|
||||||
outfileNames.Add(DatFormat.EverdriveSMDB, CreateOutfileNamesHelper(outDir, ".txt", overwrite));
|
outfileNames.Add(DatFormat.EverdriveSMDB, CreateOutfileNamesHelper(outDir, ".txt", overwrite));
|
||||||
}
|
}
|
||||||
if ((DatFormat & DatFormat.EverdriveSMDB) != 0
|
if ((DatFormat & DatFormat.EverdriveSMDB) != 0
|
||||||
&& ((DatFormat & DatFormat.AttractMode) != 0
|
&& ((DatFormat & DatFormat.AttractMode) != 0
|
||||||
|
|| (DatFormat & DatFormat.Listrom) != 0)
|
||||||
|| (DatFormat & DatFormat.MissFile) != 0))
|
|| (DatFormat & DatFormat.MissFile) != 0))
|
||||||
{
|
{
|
||||||
outfileNames.Add(DatFormat.SoftwareList, CreateOutfileNamesHelper(outDir, ".smdb.txt", overwrite));
|
outfileNames.Add(DatFormat.SoftwareList, CreateOutfileNamesHelper(outDir, ".smdb.txt", overwrite));
|
||||||
|
|||||||
Reference in New Issue
Block a user