diff options
Diffstat (limited to 'apps/codecs/libgme/sgc_emu.c')
-rw-r--r-- | apps/codecs/libgme/sgc_emu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libgme/sgc_emu.c b/apps/codecs/libgme/sgc_emu.c index a2e6b8df29..e7253a8d5b 100644 --- a/apps/codecs/libgme/sgc_emu.c +++ b/apps/codecs/libgme/sgc_emu.c | |||
@@ -82,7 +82,7 @@ blargg_err_t Sgc_load_mem( struct Sgc_Emu* this, const void* data, long size ) | |||
82 | this->m3u.size = 0; | 82 | this->m3u.size = 0; |
83 | this->track_count = this->header.song_count; | 83 | this->track_count = this->header.song_count; |
84 | this->voice_count = sega_mapping( this ) ? osc_count : sms_osc_count; | 84 | this->voice_count = sega_mapping( this ) ? osc_count : sms_osc_count; |
85 | static int const types [osc_count + 1] = { | 85 | static int const types [sms_osc_count + fm_apu_osc_count] = { |
86 | wave_type+1, wave_type+2, wave_type+3, mixed_type+1, mixed_type+2 | 86 | wave_type+1, wave_type+2, wave_type+3, mixed_type+1, mixed_type+2 |
87 | }; | 87 | }; |
88 | this->voice_types = types; | 88 | this->voice_types = types; |