forked from len0rd/rockbox
Fix warning in chip8 plugin for simulator builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24162 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
92d2874959
commit
b75b3e7557
1 changed files with 1 additions and 1 deletions
|
|
@ -1169,7 +1169,6 @@ static unsigned long cycles; /* Number of update cycles (50Hz) */
|
||||||
|
|
||||||
#ifndef SIMULATOR
|
#ifndef SIMULATOR
|
||||||
static bool is_playing;
|
static bool is_playing;
|
||||||
#endif
|
|
||||||
|
|
||||||
/* one frame of bitswapped mp3 data */
|
/* one frame of bitswapped mp3 data */
|
||||||
static unsigned char beep[]={255,
|
static unsigned char beep[]={255,
|
||||||
|
|
@ -1191,6 +1190,7 @@ static void callback(unsigned char** start, size_t* size)
|
||||||
*start = beep; /* give it the same frame again */
|
*start = beep; /* give it the same frame again */
|
||||||
*size = sizeof(beep);
|
*size = sizeof(beep);
|
||||||
}
|
}
|
||||||
|
#endif /* !SIMULATOR */
|
||||||
|
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
/* Turn sound on */
|
/* Turn sound on */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue