diff options
Diffstat (limited to 'apps/codecs/libspc/spc_codec.h')
-rw-r--r-- | apps/codecs/libspc/spc_codec.h | 16 |
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 | ||
436 | void Timer_run_( struct Timer* t, long time ) ICODE_ATTR_SPC; | ||
437 | |||
438 | static inline void Timer_run( struct Timer* t, long time ) | ||
439 | { | ||
440 | if ( time >= t->next_tick ) | ||
441 | Timer_run_( t, time ); | ||
442 | } | ||
443 | |||
444 | struct Spc_Emu | 436 | struct 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 | ||
493 | void SPC_run_dsp_( THIS, long time ) ICODE_ATTR_SPC; | ||
494 | |||
495 | static inline void SPC_run_dsp( THIS, long time ) | ||
496 | { | ||
497 | if ( time >= this->next_dsp ) | ||
498 | SPC_run_dsp_( this, time ); | ||
499 | } | ||
500 | |||
501 | int SPC_read( THIS, unsigned addr, long const time ) ICODE_ATTR_SPC; | 485 | int SPC_read( THIS, unsigned addr, long const time ) ICODE_ATTR_SPC; |
502 | void SPC_write( THIS, unsigned addr, int data, long const time ) ICODE_ATTR_SPC; | 486 | void SPC_write( THIS, unsigned addr, int data, long const time ) ICODE_ATTR_SPC; |
503 | 487 | ||