Fix rerecord count when loading movies
This commit is contained in:
parent
8c346c0695
commit
8e88ad35b3
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ void do_load_state(struct moviefile& _movie, int lmode)
|
||||||
mlength %= 1000000000;
|
mlength %= 1000000000;
|
||||||
x << std::setfill('0') << std::setw(3) << mlength / 1000000;
|
x << std::setfill('0') << std::setw(3) << mlength / 1000000;
|
||||||
std::string rerecords = _movie.rerecords;
|
std::string rerecords = _movie.rerecords;
|
||||||
if(lmode != LOAD_STATE_MOVIE)
|
if(our_movie.is_savestate)
|
||||||
rerecords = (stringfmt() << rrdata::count()).str();
|
rerecords = (stringfmt() << rrdata::count()).str();
|
||||||
messages << "Rerecords " << rerecords << " length " << x.str() << " ("
|
messages << "Rerecords " << rerecords << " length " << x.str() << " ("
|
||||||
<< _movie.get_frame_count() << " frames)" << std::endl;
|
<< _movie.get_frame_count() << " frames)" << std::endl;
|
||||||
|
|
Loading…
Add table
Reference in a new issue