mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 05:35:20 -05:00
Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28990 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c7b8d07181
commit
67a85912c8
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ void pcm_dma_apply_settings(void)
|
||||||
size_t pcm_get_bytes_waiting(void)
|
size_t pcm_get_bytes_waiting(void)
|
||||||
{
|
{
|
||||||
int bytes = remaining;
|
int bytes = remaining;
|
||||||
const struct dma_lli* lli = &DMAC0C0LLI;
|
const struct dma_lli* lli = (const struct dma_lli*)((int)&DMAC0C0LLI);
|
||||||
while (lli)
|
while (lli)
|
||||||
{
|
{
|
||||||
bytes += (lli->control & 0xfff) * 2;
|
bytes += (lli->control & 0xfff) * 2;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue