Fix wrong comparison during loadstate+read-only checking. Post-movie savestates can now be loaded in read-only without an erroneous error.

This commit is contained in:
adelikat 2010-05-28 19:59:06 +00:00
parent 5ed6637f60
commit 626528ade6
1 changed files with 1 additions and 1 deletions

View File

@ -1344,7 +1344,7 @@ bool FCEUMOV_ReadState(EMUFILE* is, uint32 size)
//if we made it this far, then the savestate has identical movie data but we want to know now if the stateMOVIE size is greater than current movie size and make this error
//currFrameCounter at this point represents the savestate framecount
if(currFrameCounter > (int)currMovieData.records.size())
if(tempMovieData.records.size() > currMovieData.records.size())
{
//TODO: turn frame counter to red to get attention