diff --git a/SabreTools.Helper/Tools/ArchiveTools.cs b/SabreTools.Helper/Tools/ArchiveTools.cs index 0b26e7b7..9813ca17 100644 --- a/SabreTools.Helper/Tools/ArchiveTools.cs +++ b/SabreTools.Helper/Tools/ArchiveTools.cs @@ -399,7 +399,13 @@ namespace SabreTools.Helper.Tools List roms = new List(); string gamename = Path.GetFileNameWithoutExtension(input); - // First get the archive type + // First, we check that there is anything being passed as the input + if (String.IsNullOrEmpty(input)) + { + return roms; + } + + // Next, get the archive type ArchiveType? at = GetCurrentArchiveType(input, logger); // If we got back null, then it's not an archive, so we we return