Set framebuffer dirty on restore state

This commit is contained in:
Aaron Culliney 2016-02-17 22:38:50 -08:00
parent 00a5f6e102
commit efcf0afa4e

View File

@ -133,6 +133,8 @@ bool emulator_loadState(const char * const path) {
assert(cpu_isPaused() && "should be paused to load state");
video_setDirty(A2_DIRTY_FLAG);
do {
TEMP_FAILURE_RETRY(fd = open(path, O_RDONLY));
if (fd < 0) {