Adjusted IPC HLE period to allow for four emulated wiimotes.

This commit is contained in:
skidau 2011-10-02 14:26:48 +11:00
parent ad508ab8fb
commit a09e859b3a
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 : 1500; bDisableWiimoteSpeaker ? 1250 : 3000;
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);