summaryrefslogtreecommitdiff
path: root/apps/codecs/libspc/spc_codec.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libspc/spc_codec.h')
-rw-r--r--apps/codecs/libspc/spc_codec.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/apps/codecs/libspc/spc_codec.h b/apps/codecs/libspc/spc_codec.h
index caa6860088..7f6b6e2e9f 100644
--- a/apps/codecs/libspc/spc_codec.h
+++ b/apps/codecs/libspc/spc_codec.h
@@ -433,14 +433,6 @@ struct Timer
433 int counter; 433 int counter;
434}; 434};
435 435
436void Timer_run_( struct Timer* t, long time ) ICODE_ATTR_SPC;
437
438static inline void Timer_run( struct Timer* t, long time )
439{
440 if ( time >= t->next_tick )
441 Timer_run_( t, time );
442}
443
444struct Spc_Emu 436struct Spc_Emu
445{ 437{
446 uint8_t cycle_table [0x100]; 438 uint8_t cycle_table [0x100];
@@ -490,14 +482,6 @@ static inline int DSP_read( struct Spc_Dsp* this, int i )
490 return this->r.reg [i]; 482 return this->r.reg [i];
491} 483}
492 484
493void SPC_run_dsp_( THIS, long time ) ICODE_ATTR_SPC;
494
495static inline void SPC_run_dsp( THIS, long time )
496{
497 if ( time >= this->next_dsp )
498 SPC_run_dsp_( this, time );
499}
500
501int SPC_read( THIS, unsigned addr, long const time ) ICODE_ATTR_SPC; 485int SPC_read( THIS, unsigned addr, long const time ) ICODE_ATTR_SPC;
502void SPC_write( THIS, unsigned addr, int data, long const time ) ICODE_ATTR_SPC; 486void SPC_write( THIS, unsigned addr, int data, long const time ) ICODE_ATTR_SPC;
503 487