diff options
Diffstat (limited to 'apps/codecs/libgme/nes_oscs.c')
-rw-r--r-- | apps/codecs/libgme/nes_oscs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libgme/nes_oscs.c b/apps/codecs/libgme/nes_oscs.c index 8682cc60e2..a790c4d8a2 100644 --- a/apps/codecs/libgme/nes_oscs.c +++ b/apps/codecs/libgme/nes_oscs.c | |||
@@ -326,7 +326,7 @@ int Dmc_count_reads( struct Nes_Dmc* this, nes_time_t time, nes_time_t* last_rea | |||
326 | return count; | 326 | return count; |
327 | } | 327 | } |
328 | 328 | ||
329 | static short const dmc_period_table [2] [16] ICONST_ATTR = { | 329 | static short const dmc_period_table [2] [16] = { |
330 | {428, 380, 340, 320, 286, 254, 226, 214, // NTSC | 330 | {428, 380, 340, 320, 286, 254, 226, 214, // NTSC |
331 | 190, 160, 142, 128, 106, 84, 72, 54}, | 331 | 190, 160, 142, 128, 106, 84, 72, 54}, |
332 | 332 | ||
@@ -340,7 +340,7 @@ inline void Dmc_reload_sample( struct Nes_Dmc* this ) | |||
340 | this->osc.length_counter = this->osc.regs [3] * 0x10 + 1; | 340 | this->osc.length_counter = this->osc.regs [3] * 0x10 + 1; |
341 | } | 341 | } |
342 | 342 | ||
343 | static byte const dac_table [128] ICONST_ATTR = | 343 | static byte const dac_table [128] = |
344 | { | 344 | { |
345 | 0, 1, 2, 3, 4, 5, 6, 7, 7, 8, 9,10,11,12,13,14, | 345 | 0, 1, 2, 3, 4, 5, 6, 7, 7, 8, 9,10,11,12,13,14, |
346 | 15,15,16,17,18,19,20,20,21,22,23,24,24,25,26,27, | 346 | 15,15,16,17,18,19,20,20,21,22,23,24,24,25,26,27, |
@@ -479,7 +479,7 @@ void Dmc_run( struct Nes_Dmc* this, nes_time_t time, nes_time_t end_time ) | |||
479 | 479 | ||
480 | // Nes_Noise | 480 | // Nes_Noise |
481 | 481 | ||
482 | static short const noise_period_table [16] ICONST_ATTR = { | 482 | static short const noise_period_table [16] = { |
483 | 0x004, 0x008, 0x010, 0x020, 0x040, 0x060, 0x080, 0x0A0, | 483 | 0x004, 0x008, 0x010, 0x020, 0x040, 0x060, 0x080, 0x0A0, |
484 | 0x0CA, 0x0FE, 0x17C, 0x1FC, 0x2FA, 0x3F8, 0x7F2, 0xFE4 | 484 | 0x0CA, 0x0FE, 0x17C, 0x1FC, 0x2FA, 0x3F8, 0x7F2, 0xFE4 |
485 | }; | 485 | }; |