Fix for state recorder load state function. Set EMUFILE_MEMORY read position back to beginning of memory block before calling FCEUSS_LoadFP.
This commit is contained in:
parent
e95c0fe86b
commit
99aefa563a
|
@ -1315,6 +1315,8 @@ class StateRecorder
|
|||
|
||||
EMUFILE_MEMORY *em = ringBuf[ snapIdx ];
|
||||
|
||||
em->fseek(SEEK_SET, 0);
|
||||
|
||||
FCEUSS_LoadFP( em, SSLOADPARAM_NOBACKUP );
|
||||
|
||||
frameCounter = lastLoadFrame = static_cast<unsigned int>(currFrameCounter);
|
||||
|
|
Loading…
Reference in New Issue