Core: Fix creating mVL contexts dropping the savestate

This commit is contained in:
Vicki Pfau 2024-09-06 23:22:06 -07:00
parent b072cb40cb
commit 1c85dba0df
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ struct mVideoLogContext* mVideoLogContextCreate(struct mCore* core) {
context->initialStateSize = vf->size(vf);
context->initialState = anonymousMemoryMap(context->initialStateSize);
vf->seek(vf, 0, SEEK_SET);
vf->write(vf, context->initialState, context->initialStateSize);
vf->read(vf, context->initialState, context->initialStateSize);
vf->close(vf);
core->startVideoLog(core, context);
}