mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +01:00
Removed the system timing hack which was activated when the Accurate VBeam option was enabled.
This commit is contained in:
parent
ad28986d51
commit
c7ccf7e5c6
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user