Reread controls after loadstate
Without rereading the controls, Lua doesn't get called to input the correct frame data.
This commit is contained in:
parent
17d2d84d70
commit
dbe5cc8cb8
1 changed files with 2 additions and 0 deletions
|
@ -934,6 +934,8 @@ void main_loop(struct loaded_rom& rom, struct moviefile& initial, bool load_has_
|
|||
else
|
||||
amode = old_mode;
|
||||
just_did_loadstate = first_round;
|
||||
movb.get_movie().set_controls(movb.update_controls(true));
|
||||
movb.get_movie().set_all_DRDY();
|
||||
continue;
|
||||
} else if(r < 0) {
|
||||
//Not exactly desriable, but this at least won't desync.
|
||||
|
|
Loading…
Add table
Reference in a new issue