Load RTC correctly if loading savesate as a movie

This commit is contained in:
Ilari Liusvaara 2011-11-19 08:11:26 +02:00
parent 9f74ef1db3
commit 984120972e

View file

@ -256,6 +256,8 @@ void do_load_state(struct moviefile& _movie, int lmode)
load_sram(_movie.movie_sram);
controller_set_port_type(0, _movie.port1);
controller_set_port_type(1, _movie.port2);
_movie.rtc_second = _movie.movie_rtc_second;
_movie.rtc_subsecond = _movie.movie_rtc_subsecond;
framebuffer = screen_nosignal;
}
} catch(std::bad_alloc& e) {