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:
parent
5ed6637f60
commit
626528ade6
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue