integrate 2087 from rerecording_0_9_2
This commit is contained in:
parent
ffb4ea538c
commit
0ce99ce869
|
@ -860,6 +860,13 @@ void MovieSRAM()
|
|||
strcat(buf, "movie");
|
||||
}
|
||||
|
||||
if (MMU.bupmem.fp)
|
||||
{
|
||||
fclose(MMU.bupmem.fp);
|
||||
MMU.bupmem.fp = NULL;
|
||||
}
|
||||
|
||||
|
||||
mc_realloc(&MMU.bupmem, bmtype, bmsize);
|
||||
mc_load_file(&MMU.bupmem, buf);
|
||||
}
|
||||
|
@ -886,12 +893,6 @@ void NDS_Reset(BOOL resetBySavestate)
|
|||
|
||||
if (!header) return ;
|
||||
|
||||
if (MMU.bupmem.fp)
|
||||
{
|
||||
fclose(MMU.bupmem.fp);
|
||||
MMU.bupmem.fp = NULL;
|
||||
}
|
||||
|
||||
lagframecounter=0;
|
||||
LagFrameFlag=0;
|
||||
lastLag=0;
|
||||
|
|
Loading…
Reference in New Issue