mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add default for missing sources
This commit is contained in:
@@ -435,6 +435,12 @@ Make a selection:
|
|||||||
{
|
{
|
||||||
RomData rom = newroms[i];
|
RomData rom = newroms[i];
|
||||||
|
|
||||||
|
// In the case that the RomData is incomplete, skip it
|
||||||
|
if (rom.Name == null || rom.Game == null)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// WOD origninally stripped out any subdirs from the imported files, we do the same
|
// WOD origninally stripped out any subdirs from the imported files, we do the same
|
||||||
rom.Name = Path.GetFileName(rom.Name);
|
rom.Name = Path.GetFileName(rom.Name);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user