summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/kss_emu.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libgme/kss_emu.h')
-rw-r--r--apps/codecs/libgme/kss_emu.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/codecs/libgme/kss_emu.h b/apps/codecs/libgme/kss_emu.h
index 646b18ea35..43df964fcc 100644
--- a/apps/codecs/libgme/kss_emu.h
+++ b/apps/codecs/libgme/kss_emu.h
@@ -155,7 +155,7 @@ blargg_err_t Kss_start_track( struct Kss_Emu* this, int track );
155 155
156// Generate 'count' samples info 'buf'. Output is in stereo. Any emulation 156// Generate 'count' samples info 'buf'. Output is in stereo. Any emulation
157// errors set warning string, and major errors also end track. 157// errors set warning string, and major errors also end track.
158blargg_err_t Kss_play( struct Kss_Emu* this, long count, sample_t* buf ) ICODE_ATTR; 158blargg_err_t Kss_play( struct Kss_Emu* this, long count, sample_t* buf );
159 159
160// Track status/control 160// Track status/control
161 161
@@ -210,13 +210,13 @@ static inline void Sound_set_gain( struct Kss_Emu* this, int g )
210} 210}
211 211
212// Emulation (You shouldn't touch these 212// Emulation (You shouldn't touch these
213void cpu_write( struct Kss_Emu* this, kss_addr_t, int ) ICODE_ATTR; 213void cpu_write( struct Kss_Emu* this, kss_addr_t, int );
214int cpu_in( struct Kss_Emu* this, kss_time_t, kss_addr_t ) ICODE_ATTR; 214int cpu_in( struct Kss_Emu* this, kss_time_t, kss_addr_t );
215void cpu_out( struct Kss_Emu* this, kss_time_t, kss_addr_t, int ) ICODE_ATTR; 215void cpu_out( struct Kss_Emu* this, kss_time_t, kss_addr_t, int );
216 216
217void cpu_write_( struct Kss_Emu* this, kss_addr_t addr, int data ) ICODE_ATTR; 217void cpu_write_( struct Kss_Emu* this, kss_addr_t addr, int data );
218bool run_cpu( struct Kss_Emu* this, kss_time_t end ) ICODE_ATTR; 218bool run_cpu( struct Kss_Emu* this, kss_time_t end );
219void jsr( struct Kss_Emu* this, byte const addr [] ) ICODE_ATTR; 219void jsr( struct Kss_Emu* this, byte const addr [] );
220 220
221static inline int sms_psg_enabled( struct Kss_Emu* this ) { return this->chip_flags & sms_psg_flag; } 221static inline int sms_psg_enabled( struct Kss_Emu* this ) { return this->chip_flags & sms_psg_flag; }
222static inline int sms_fm_enabled( struct Kss_Emu* this ) { return this->chip_flags & sms_fm_flag; } 222static inline int sms_fm_enabled( struct Kss_Emu* this ) { return this->chip_flags & sms_fm_flag; }