Bk2Movie - simplify a bit

This commit is contained in:
adelikat 2020-05-31 15:07:28 -05:00
parent c20e4964c6
commit d36426f873
1 changed files with 88 additions and 90 deletions

View File

@ -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;