diff options
| author | skidau <skidau@gmail.com> | 2013-01-10 09:11:37 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2013-01-10 09:11:37 +1100 |
| commit | c7ccf7e5c6a78f2a41b6625dec64356318e27079 (patch) | |
| tree | dd1f18934f3808101beca26a2942b13252af378c /Source/Core | |
| parent | ad28986d510cfe7e064acd9f95d1de0d08b36325 (diff) | |
Removed the system timing hack which was activated when the Accurate VBeam option was enabled.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/HW/SystemTimers.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/Core/Src/HW/SystemTimers.cpp b/Source/Core/Core/Src/HW/SystemTimers.cpp index b9f9fe0107..b520c51b39 100644 --- a/Source/Core/Core/Src/HW/SystemTimers.cpp +++ b/Source/Core/Core/Src/HW/SystemTimers.cpp @@ -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); } |
