Have Wiimote update call Frame::SetPolledDevice() so that recordings can track lag frames. (At present, the circumstances in which there actually would be a frame where input isn't polled elude me, but might as well be complete.)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7157 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
2eeaae576c
commit
0bf25c91ab
|
@ -670,6 +670,8 @@ void Wiimote::Update()
|
|||
// figure out what data we need
|
||||
s8 rptf_size = MAX_PAYLOAD;
|
||||
|
||||
Frame::SetPolledDevice();
|
||||
|
||||
if (!Frame::IsPlayingInput() || !Frame::PlayWiimote(m_index, data, rptf_size))
|
||||
{
|
||||
const ReportFeatures& rptf = reporting_mode_features[m_reporting_mode - WM_REPORT_CORE];
|
||||
|
|
Loading…
Reference in New Issue