From 3baab41cf43213df83eb9a4aa28eedbbbd23ec44 Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Thu, 5 Sep 2013 16:09:56 -0400 Subject: [PATCH] Allow input display to work with netplay even when not recording. --- Source/Core/Core/Src/NetPlayClient.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/NetPlayClient.cpp b/Source/Core/Core/Src/NetPlayClient.cpp index 2889a44323a4..7a3febe03046 100644 --- a/Source/Core/Core/Src/NetPlayClient.cpp +++ b/Source/Core/Core/Src/NetPlayClient.cpp @@ -557,8 +557,15 @@ bool NetPlayClient::GetNetPads(const u8 pad_nb, const SPADStatus* const pad_stat tmp.substickY = ((u8*)&netvalues->nLo)[2]; tmp.triggerLeft = ((u8*)&netvalues->nLo)[1]; tmp.triggerRight = ((u8*)&netvalues->nLo)[0]; - Movie::RecordInput(&tmp, pad_nb); - Movie::InputUpdate(); + if (Movie::IsRecordingInput()) + { + Movie::RecordInput(&tmp, pad_nb); + Movie::InputUpdate(); + } + else + { + Movie::CheckPadStatus(&tmp, pad_nb); + } return true; }