forked from len0rd/rockbox
Cast some more to keep both 32 bit and 64 bit simulator platforms happy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12819 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
341b03a242
commit
bd5c0ad7bb
10 changed files with 39 additions and 27 deletions
|
|
@ -298,7 +298,8 @@ static void decode_brr( struct Spc_Dsp* this, unsigned start_addr,
|
|||
if ( addr == loop_ptr )
|
||||
{
|
||||
loop_start = out;
|
||||
DEBUGF( "loop at %08x (wave #%d)\n", addr - RAM, raw_voice->waveform );
|
||||
DEBUGF( "loop at %08lx (wave #%d)\n",
|
||||
(unsigned long)(addr - RAM), raw_voice->waveform );
|
||||
}
|
||||
|
||||
/* header */
|
||||
|
|
@ -398,7 +399,8 @@ static void decode_brr( struct Spc_Dsp* this, unsigned start_addr,
|
|||
}
|
||||
}
|
||||
|
||||
DEBUGF( "end at %08x (wave #%d)\n", addr - RAM, raw_voice->waveform );
|
||||
DEBUGF( "end at %08lx (wave #%d)\n",
|
||||
(unsigned long)(addr - RAM), raw_voice->waveform );
|
||||
|
||||
/* add to cache */
|
||||
this->wave_entry_old [this->oldsize++] = *wave_entry;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue