Replay: Fix a silly typo applying analog.

This commit is contained in:
Unknown W. Brackets 2018-04-11 21:31:36 -07:00
parent d1fbf8a101
commit 26f5b5b938

View File

@ -292,7 +292,7 @@ static void ReplayExecuteCtrl(uint32_t &buttons, uint8_t analog[2][2], uint64_t
// We have to always apply the latest state here, because otherwise real input is used between changes.
buttons = lastButtons;
memcpy(analog, lastAnalog, sizeof(analog));
memcpy(analog, lastAnalog, sizeof(lastAnalog));
if (replayExecPos < replayCtrlPos) {
replayExecPos = replayCtrlPos;