mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00: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:
parent
2eeaae576c
commit
0bf25c91ab
1 changed files with 2 additions and 0 deletions
|
@ -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];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue