Merge pull request #10139 from malleoz/movie-mismatch-fix
Movie: display correct input difference on movie mismatch
This commit is contained in:
commit
40d9694bd0
|
@ -1072,8 +1072,7 @@ void LoadInput(const std::string& movie_path)
|
||||||
memcpy(&curPadState, &s_temp_input[frame * sizeof(ControllerState)],
|
memcpy(&curPadState, &s_temp_input[frame * sizeof(ControllerState)],
|
||||||
sizeof(ControllerState));
|
sizeof(ControllerState));
|
||||||
ControllerState movPadState;
|
ControllerState movPadState;
|
||||||
memcpy(&movPadState, &s_temp_input[frame * sizeof(ControllerState)],
|
memcpy(&movPadState, &movInput[frame * sizeof(ControllerState)], sizeof(ControllerState));
|
||||||
sizeof(ControllerState));
|
|
||||||
PanicAlertFmtT(
|
PanicAlertFmtT(
|
||||||
"Warning: You loaded a save whose movie mismatches on frame {0}. You should load "
|
"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. "
|
"another save before continuing, or load this state with read-only mode off. "
|
||||||
|
|
Loading…
Reference in New Issue