mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
fix rwav sample memcpy
This commit is contained in:
parent
18f78613ae
commit
0e90ab36a0
@ -115,7 +115,7 @@ int rwav_iterate(rwav_iterator_t *iter)
|
||||
if (s > RWAV_ITERATE_BUF_SIZE)
|
||||
s = RWAV_ITERATE_BUF_SIZE;
|
||||
|
||||
memcpy((void*)rwav->samples, (void *)(iter->data + 44 + iter->i), s);
|
||||
memcpy((void*)((uint8_t*)rwav->samples + iter->i), (void *)(iter->data + 44 + iter->i), s);
|
||||
printf("copied %lu\n", s);
|
||||
iter->i += s;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user