add missing Dispose() for Citra ctor failure case
This commit is contained in:
parent
0a72dc046f
commit
33f1c5472a
|
@ -137,6 +137,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.N3DS
|
||||||
// doesn't make sense if not a CIA
|
// doesn't make sense if not a CIA
|
||||||
if (lp.Roms[i].Extension.ToLowerInvariant() != ".cia")
|
if (lp.Roms[i].Extension.ToLowerInvariant() != ".cia")
|
||||||
{
|
{
|
||||||
|
Dispose();
|
||||||
throw new("ROMs after the index 0 should be CIAs");
|
throw new("ROMs after the index 0 should be CIAs");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue