diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-08-31 19:42:18 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-08-31 19:42:18 +0000 |
commit | 72a345b6a7fda0f9b6bb8fe63ae283ec972297d7 (patch) | |
tree | 9fec68af32db1957d98640108bc0ddae90628813 /apps | |
parent | 89ee297314c91c22c19e79fdc62dd73b26eff6b8 (diff) |
Fix some more libgme compile issues.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30399 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-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 ) this->m3u.size = 0;
this->track_count = this->header.song_count;
this->voice_count = sega_mapping( this ) ? osc_count : sms_osc_count;
- static int const types [osc_count + 1] = {
+ static int const types [sms_osc_count + fm_apu_osc_count] = {
wave_type+1, wave_type+2, wave_type+3, mixed_type+1, mixed_type+2
};
this->voice_types = types;
|