Fix FCEUI_MovieGetInfo. It was keeping info.reset from being initialized and causing garbage to be used to determine if a movie began from soft-reset. As such the Win32 replay dialog was always reporting savestate movies as soft-reset.

This commit is contained in:
adelikat 2010-05-25 03:09:53 +00:00
parent f9fbb68208
commit 68e300e7a2
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
23-may-2010 - adelikat - Win32 - Replay dialog - fix bug that was causing it to always report savestate movies as soft-reset
23-may-2010 - adelikat - Fix PlayMovieFromBeginning when using a movie that starts from savestate
23-may-2010 - cah4e3 - mapper 19 savestate fix mirroring for "Dream Master (J)" corrected to "four-screen" by CRC check
23-may-2010 - ugetab - Win32 - Fixed bug involving pausing emulation outside of the debugger, then trying to use the debugger commands, and having teh CPU registers become corrupted.

View File

@ -1522,6 +1522,7 @@ bool FCEUI_MovieGetInfo(FCEUFILE* fp, MOVIE_INFO& info, bool skipFrameCount)
info.movie_version = md.version;
info.poweron = md.savestate.size()==0;
info.reset = false; //Soft-reset isn't used from starting movies anymore, so this will be false, better for FCEUFILE to have that info (as |1| on the first frame indicates it
info.pal = md.palFlag;
info.ppuflag = md.PPUflag;
info.nosynchack = true;