From 27a3e533f4b4dde597302d9587a6099031f935e6 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Tue, 1 Feb 2011 01:42:30 +0000 Subject: [PATCH] Change the *totally estimated* aram dma latency to a value which doesn't cause pops in Metroid Prime, and yet still allows WWE:DoR to get ingame. I'm pretty sure I tried this value before, however it only started working since dsp was merged into core... :) fixes issue 4025 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7027 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/DSP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/HW/DSP.cpp b/Source/Core/Core/Src/HW/DSP.cpp index e672852874..bfe04c5bdf 100644 --- a/Source/Core/Core/Src/HW/DSP.cpp +++ b/Source/Core/Core/Src/HW/DSP.cpp @@ -683,7 +683,7 @@ void Do_ARAM_DMA() // Fake the DMA taking time to complete. The delay is not accurate, but // seems like a good estimate CoreTiming::ScheduleEvent_Threadsafe( - g_arDMA.Cnt.count, et_GenerateDSPInterrupt, INT_ARAM | (1<<16)); + g_arDMA.Cnt.count >> 1, et_GenerateDSPInterrupt, INT_ARAM | (1<<16)); // Real hardware DMAs in 32byte chunks, but we can get by with 8byte chunks if (g_arDMA.Cnt.dir)