mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 22:34:54 +00:00
Allow input display to work with netplay even when not recording.
This commit is contained in:
parent
b2657f6a9b
commit
3baab41cf4
1 changed files with 9 additions and 2 deletions
|
@ -557,8 +557,15 @@ bool NetPlayClient::GetNetPads(const u8 pad_nb, const SPADStatus* const pad_stat
|
||||||
tmp.substickY = ((u8*)&netvalues->nLo)[2];
|
tmp.substickY = ((u8*)&netvalues->nLo)[2];
|
||||||
tmp.triggerLeft = ((u8*)&netvalues->nLo)[1];
|
tmp.triggerLeft = ((u8*)&netvalues->nLo)[1];
|
||||||
tmp.triggerRight = ((u8*)&netvalues->nLo)[0];
|
tmp.triggerRight = ((u8*)&netvalues->nLo)[0];
|
||||||
Movie::RecordInput(&tmp, pad_nb);
|
if (Movie::IsRecordingInput())
|
||||||
Movie::InputUpdate();
|
{
|
||||||
|
Movie::RecordInput(&tmp, pad_nb);
|
||||||
|
Movie::InputUpdate();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Movie::CheckPadStatus(&tmp, pad_nb);
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue