mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06:00
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:
@ -670,6 +670,8 @@ void Wiimote::Update()
|
|||||||
// figure out what data we need
|
// figure out what data we need
|
||||||
s8 rptf_size = MAX_PAYLOAD;
|
s8 rptf_size = MAX_PAYLOAD;
|
||||||
|
|
||||||
|
Frame::SetPolledDevice();
|
||||||
|
|
||||||
if (!Frame::IsPlayingInput() || !Frame::PlayWiimote(m_index, data, rptf_size))
|
if (!Frame::IsPlayingInput() || !Frame::PlayWiimote(m_index, data, rptf_size))
|
||||||
{
|
{
|
||||||
const ReportFeatures& rptf = reporting_mode_features[m_reporting_mode - WM_REPORT_CORE];
|
const ReportFeatures& rptf = reporting_mode_features[m_reporting_mode - WM_REPORT_CORE];
|
||||||
|
Reference in New Issue
Block a user