parent
5a44c10a79
commit
93254b4b6e
|
@ -317,6 +317,15 @@ namespace BizHawk.Client.Common
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// at this point, file is either assigned to the ROM path, if it exists,
|
||||||
|
// or is empty and corecomm is not a libretro core
|
||||||
|
// so, we still need to check path here before continuing
|
||||||
|
if (string.IsNullOrEmpty(path))
|
||||||
|
{
|
||||||
|
Console.WriteLine("No ROM to Load");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// if not libretro:
|
// if not libretro:
|
||||||
// do extension checknig
|
// do extension checknig
|
||||||
ext = file.Extension.ToLowerInvariant();
|
ext = file.Extension.ToLowerInvariant();
|
||||||
|
|
Loading…
Reference in New Issue