Adjusted the System Timing of the IPC HLE period for Wiimotes when used with DSP HLE.

This commit is contained in:
skidau 2011-10-02 16:34:23 +11:00
parent a09e859b3a
commit 58cbe9cbd9
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ void Init()
// FIXME: does Wiimote Speaker support really require a different interval? (issue 4608) // FIXME: does Wiimote Speaker support really require a different interval? (issue 4608)
const int interval = SConfig::GetInstance().m_LocalCoreStartupParameter. const int interval = SConfig::GetInstance().m_LocalCoreStartupParameter.
bDisableWiimoteSpeaker ? 1250 : 3000; bDisableWiimoteSpeaker ? 12500 : 4000;
const int fields = SConfig::GetInstance().m_LocalCoreStartupParameter. const int fields = SConfig::GetInstance().m_LocalCoreStartupParameter.
bVBeam ? 2 : 1; bVBeam ? 2 : 1;
IPC_HLE_PERIOD = GetTicksPerSecond() / (interval * fields); IPC_HLE_PERIOD = GetTicksPerSecond() / (interval * fields);