Fix speed going out of whack after doing unsafe rewind

This commit is contained in:
Ilari Liusvaara 2015-04-12 23:10:57 +03:00
parent a1b96d75da
commit 8af9dda77f

View file

@ -719,6 +719,7 @@ jumpback:
core.mlogic->get_mfile().is_savestate = true;
core.runmode->set_point(emulator_runmode::P_SAVE);
core.supdater->update();
core.runmode->end_load(); //Restore previous mode.
messages << "Rewind done in " << (framerate_regulator::get_utime() - t) << " usec."
<< std::endl;
return 1;