Skip to content

Commit

Permalink
Merge pull request #10139 from malleoz/movie-mismatch-fix
Browse files Browse the repository at this point in the history
Movie: display correct input difference on movie mismatch
  • Loading branch information
phire committed Sep 30, 2021
2 parents a7224b2 + faa5cf4 commit 40d9694
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Core/Core/Movie.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1072,8 +1072,7 @@ void LoadInput(const std::string& movie_path)
memcpy(&curPadState, &s_temp_input[frame * sizeof(ControllerState)],
sizeof(ControllerState));
ControllerState movPadState;
memcpy(&movPadState, &s_temp_input[frame * sizeof(ControllerState)],
sizeof(ControllerState));
memcpy(&movPadState, &movInput[frame * sizeof(ControllerState)], sizeof(ControllerState));
PanicAlertFmtT(
"Warning: You loaded a save whose movie mismatches on frame {0}. You should load "
"another save before continuing, or load this state with read-only mode off. "
Expand Down

0 comments on commit 40d9694

Please sign in to comment.