diff options
Diffstat (limited to 'apps/codecs/libgme/ym2612_emu.h')
-rw-r--r-- | apps/codecs/libgme/ym2612_emu.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/codecs/libgme/ym2612_emu.h b/apps/codecs/libgme/ym2612_emu.h index 96e3eae94b..146d92a0a3 100644 --- a/apps/codecs/libgme/ym2612_emu.h +++ b/apps/codecs/libgme/ym2612_emu.h | |||
@@ -10,6 +10,10 @@ | |||
10 | #define YM2612_CALCUL_TABLES | 10 | #define YM2612_CALCUL_TABLES |
11 | #endif | 11 | #endif |
12 | 12 | ||
13 | #if MEMORYSIZE > 2 | ||
14 | #define YM2612_USE_TL_TAB | ||
15 | #endif | ||
16 | |||
13 | enum { ym2612_out_chan_count = 2 }; // stereo | 17 | enum { ym2612_out_chan_count = 2 }; // stereo |
14 | enum { ym2612_channel_count = 6 }; | 18 | enum { ym2612_channel_count = 6 }; |
15 | enum { ym2612_disabled_time = -1 }; | 19 | enum { ym2612_disabled_time = -1 }; |
@@ -172,7 +176,9 @@ struct tables_t | |||
172 | short LFO_ENV_TAB [LFO_LENGHT]; // LFO AMS TABLE (adjusted for 11.8 dB) | 176 | short LFO_ENV_TAB [LFO_LENGHT]; // LFO AMS TABLE (adjusted for 11.8 dB) |
173 | short LFO_FREQ_TAB [LFO_LENGHT]; // LFO FMS TABLE | 177 | short LFO_FREQ_TAB [LFO_LENGHT]; // LFO FMS TABLE |
174 | #endif | 178 | #endif |
175 | int TL_TAB [TL_LENGHT * 2]; // TOTAL LEVEL TABLE (positif and minus) | 179 | #ifdef YM2612_USE_TL_TAB |
180 | int TL_TAB [TL_LENGHT * 2]; // TOTAL LEVEL TABLE (positif and minus) | ||
181 | #endif | ||
176 | unsigned int DECAY_TO_ATTACK [ENV_LENGHT]; // Conversion from decay to attack phase | 182 | unsigned int DECAY_TO_ATTACK [ENV_LENGHT]; // Conversion from decay to attack phase |
177 | unsigned int FINC_TAB [2048]; // Frequency step table | 183 | unsigned int FINC_TAB [2048]; // Frequency step table |
178 | }; | 184 | }; |