summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/ym2612_emu.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libgme/ym2612_emu.h')
-rw-r--r--apps/codecs/libgme/ym2612_emu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libgme/ym2612_emu.h b/apps/codecs/libgme/ym2612_emu.h
index 9ca1989ced..4b8b5c0e94 100644
--- a/apps/codecs/libgme/ym2612_emu.h
+++ b/apps/codecs/libgme/ym2612_emu.h
@@ -208,13 +208,13 @@ void Ym2612_reset( struct Ym2612_Emu* this_ );
208void Ym2612_mute_voices( struct Ym2612_Emu* this_, int mask ); 208void Ym2612_mute_voices( struct Ym2612_Emu* this_, int mask );
209 209
210// Writes addr to register 0 then data to register 1 210// Writes addr to register 0 then data to register 1
211void Ym2612_write0( struct Ym2612_Emu* this_, int addr, int data ) ICODE_ATTR; 211void Ym2612_write0( struct Ym2612_Emu* this_, int addr, int data );
212 212
213// Writes addr to register 2 then data to register 3 213// Writes addr to register 2 then data to register 3
214void Ym2612_write1( struct Ym2612_Emu* this_, int addr, int data ) ICODE_ATTR; 214void Ym2612_write1( struct Ym2612_Emu* this_, int addr, int data );
215 215
216// Runs and adds pair_count*2 samples into current output buffer contents 216// Runs and adds pair_count*2 samples into current output buffer contents
217void Ym2612_run( struct Ym2612_Emu* this_, int pair_count, short* out ) ICODE_ATTR; 217void Ym2612_run( struct Ym2612_Emu* this_, int pair_count, short* out );
218 218
219static inline void Ym2612_enable( struct Ym2612_Emu* this_, bool b ) { this_->last_time = b ? 0 : ym2612_disabled_time; } 219static inline void Ym2612_enable( struct Ym2612_Emu* this_, bool b ) { this_->last_time = b ? 0 : ym2612_disabled_time; }
220static inline bool Ym2612_enabled( struct Ym2612_Emu* this_ ) { return this_->last_time != ym2612_disabled_time; } 220static inline bool Ym2612_enabled( struct Ym2612_Emu* this_ ) { return this_->last_time != ym2612_disabled_time; }