From 26f5b5b9389d9c010ee3a933e865268fa18897c2 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Wed, 11 Apr 2018 21:31:36 -0700 Subject: [PATCH] Replay: Fix a silly typo applying analog. --- Core/Replay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Replay.cpp b/Core/Replay.cpp index 9da036574e..e35458fb26 100644 --- a/Core/Replay.cpp +++ b/Core/Replay.cpp @@ -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;