forked from len0rd/rockbox
Fix red sim builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8919 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3caf7a6b3f
commit
d11f15fcc3
1 changed files with 4 additions and 0 deletions
|
@ -84,6 +84,10 @@ PLUGIN_HEADER
|
|||
|
||||
#endif
|
||||
|
||||
#if SIMULATOR && (CONFIG_CODEC != SWCODEC)
|
||||
#define mas_codec_readreg(x) rand()%MAX_PEAK
|
||||
#endif
|
||||
|
||||
/* global api struct pointer */
|
||||
static struct plugin_api* rb;
|
||||
/* number of ticks between two volume samples */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue