provide intelligent message on trying to load CD from archive. this causes no change in functionality, as following that codepath would fail 100% anyway
This commit is contained in:
parent
36d98f28a6
commit
f69718f57e
|
@ -246,6 +246,11 @@ namespace BizHawk.Client.Common
|
|||
}
|
||||
else if (ext == ".iso" || ext == ".cue" || ext == ".ccd")
|
||||
{
|
||||
if (file.IsArchive)
|
||||
{
|
||||
throw new InvalidOperationException("Can't load CD files from archives!");
|
||||
}
|
||||
|
||||
Disc disc = null;
|
||||
if(ext == ".iso")
|
||||
disc = Disc.FromIsoPath(path);
|
||||
|
|
Loading…
Reference in New Issue