1
0
Fork 0
forked from len0rd/rockbox

Meg F/X: Fix wrong address for cache flush at PCM start; it should be virtual, not physical.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20002 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2009-02-13 19:14:51 +00:00
parent 8c2dc67fed
commit 7bbd71af5e

View file

@ -110,7 +110,7 @@ static void play_start_pcm(void)
SRCPND = DMA2_MASK;
/* Flush any pending writes */
clean_dcache_range((void*)DISRC2, (DCON2 & 0xFFFFF) * 2);
clean_dcache_range((char*)DISRC2-0x30000000, (DCON2 & 0xFFFFF) * 2);
/* unmask DMA interrupt when unlocking */
dma_play_lock.state = DMA2_MASK;