mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Null really is an issue, but it's good now
This commit is contained in:
@@ -247,7 +247,7 @@ namespace SabreTools.Helper
|
||||
state += (old ? ")\n" : "\t</machine>\n");
|
||||
}
|
||||
|
||||
if (lastgame.ToLowerInvariant() != rom.Game.ToLowerInvariant())
|
||||
if (lastgame == null || lastgame.ToLowerInvariant() != rom.Game.ToLowerInvariant())
|
||||
{
|
||||
state += (old ? "game (\n\tname \"" + rom.Game + "\"\n" +
|
||||
"\tdescription \"" + rom.Game + "\"\n" :
|
||||
|
||||
Reference in New Issue
Block a user