forked from len0rd/rockbox
FS#12140 by Sean Bartell, Make various codec stuff static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29942 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
05a1984eb3
commit
7c6056b352
14 changed files with 77 additions and 74 deletions
|
|
@ -433,14 +433,6 @@ struct Timer
|
|||
int counter;
|
||||
};
|
||||
|
||||
void Timer_run_( struct Timer* t, long time ) ICODE_ATTR_SPC;
|
||||
|
||||
static inline void Timer_run( struct Timer* t, long time )
|
||||
{
|
||||
if ( time >= t->next_tick )
|
||||
Timer_run_( t, time );
|
||||
}
|
||||
|
||||
struct Spc_Emu
|
||||
{
|
||||
uint8_t cycle_table [0x100];
|
||||
|
|
@ -490,14 +482,6 @@ static inline int DSP_read( struct Spc_Dsp* this, int i )
|
|||
return this->r.reg [i];
|
||||
}
|
||||
|
||||
void SPC_run_dsp_( THIS, long time ) ICODE_ATTR_SPC;
|
||||
|
||||
static inline void SPC_run_dsp( THIS, long time )
|
||||
{
|
||||
if ( time >= this->next_dsp )
|
||||
SPC_run_dsp_( this, time );
|
||||
}
|
||||
|
||||
int SPC_read( THIS, unsigned addr, long const time ) ICODE_ATTR_SPC;
|
||||
void SPC_write( THIS, unsigned addr, int data, long const time ) ICODE_ATTR_SPC;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue