bugfix: FCEU ignores last input delivered when switching read+write

This commit is contained in:
mauzus 2008-05-13 02:59:07 +00:00
parent 014e0365e4
commit f65b5eb2b7
1 changed files with 5 additions and 2 deletions

View File

@ -490,8 +490,11 @@ int FCEUSS_Load(char *fname)
FILE *st; FILE *st;
char *fn; char *fn;
//Hopefully this fixes read-only toggle problems? //this fixes read-only toggle problems
if(FCEUMOV_IsRecording()) MovieFlushHeader(); if(FCEUMOV_IsRecording()) {
FCEUMOV_AddCommand(0);
MovieFlushHeader();
}
if(geniestage==1) if(geniestage==1)
{ {