Removed the system timing hack which was activated when the Accurate VBeam option was enabled.

This commit is contained in:
skidau 2013-01-10 09:11:37 +11:00
parent ad28986d51
commit c7ccf7e5c6
1 changed files with 1 additions and 2 deletions

View File

@ -160,8 +160,7 @@ void DSPCallback(u64 userdata, int cyclesLate)
void AudioDMACallback(u64 userdata, int cyclesLate)
{
int fields = SConfig::GetInstance().m_LocalCoreStartupParameter.bVBeam?2:1;
int period = CPU_CORE_CLOCK / (AudioInterface::GetAIDSampleRate() * 4 / 32 * fields);
int period = CPU_CORE_CLOCK / (AudioInterface::GetAIDSampleRate() * 4 / 32);
DSP::UpdateAudioDMA(); // Push audio to speakers.
CoreTiming::ScheduleEvent(period - cyclesLate, et_AudioDMA);
}