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:
parent
8c2dc67fed
commit
7bbd71af5e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue