Bk2Movie - simplify a bit
This commit is contained in:
parent
c20e4964c6
commit
d36426f873
|
@ -42,8 +42,7 @@ namespace BizHawk.Client.Common
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
using (var bl = ZipStateLoader.LoadAndDetect(Filename, true))
|
using var bl = ZipStateLoader.LoadAndDetect(Filename, true);
|
||||||
{
|
|
||||||
if (bl == null)
|
if (bl == null)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
@ -145,7 +144,6 @@ namespace BizHawk.Client.Common
|
||||||
SaveRam = br.ReadBytes((int)length);
|
SaveRam = br.ReadBytes((int)length);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Changes = false;
|
Changes = false;
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue