mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ALL] ExcludeFields instead of ExcludeOf
This commit is contained in:
@@ -162,19 +162,19 @@ namespace SabreTools.Library.DatFiles
|
||||
// If we're in Romba mode, the state is consistent
|
||||
if (Romba)
|
||||
{
|
||||
state += rom.Name + "\n";
|
||||
state += (!ExcludeFields[(int)Field.Name] ? rom.Name : "") + "\n";
|
||||
}
|
||||
// Otherwise, use any flags
|
||||
else
|
||||
{
|
||||
if (!UseRomName && rom.MachineName != lastgame)
|
||||
{
|
||||
state += rom.Name + "\n";
|
||||
state += (!ExcludeFields[(int)Field.Name] ? rom.Name : "") + "\n";
|
||||
lastgame = rom.MachineName;
|
||||
}
|
||||
else if (UseRomName)
|
||||
{
|
||||
state += rom.Name + "\n";
|
||||
state += (!ExcludeFields[(int)Field.Name] ? rom.Name : "") + "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user