diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-02-13 19:14:51 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-02-13 19:14:51 +0000 |
commit | 7bbd71af5e7c4bf0c863ee94e1ab2162023d3ca4 (patch) | |
tree | a453aacae2eb0ad96698550d3afccf6ba7e470f2 | |
parent | 8c2dc67fed40969e0aacf82aea04b88e7ec73102 (diff) |
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
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c index fbf4547e53..bb1b2d9eaa 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c +++ b/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c @@ -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; |