summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/gb_apu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libgme/gb_apu.c')
-rw-r--r--apps/codecs/libgme/gb_apu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libgme/gb_apu.c b/apps/codecs/libgme/gb_apu.c
index 44dd6c8e6c..e8bf3afcf5 100644
--- a/apps/codecs/libgme/gb_apu.c
+++ b/apps/codecs/libgme/gb_apu.c
@@ -136,7 +136,7 @@ void Apu_reset( struct Gb_Apu* this, enum gb_mode_t mode, bool agb_wave )
136 reset_lengths( this ); 136 reset_lengths( this );
137 137
138 // Load initial wave RAM 138 // Load initial wave RAM
139 static byte const initial_wave [2] [16] ICONST_ATTR = { 139 static byte const initial_wave [2] [16] = {
140 {0x84,0x40,0x43,0xAA,0x2D,0x78,0x92,0x3C,0x60,0x59,0x59,0xB0,0x34,0xB8,0x2E,0xDA}, 140 {0x84,0x40,0x43,0xAA,0x2D,0x78,0x92,0x3C,0x60,0x59,0x59,0xB0,0x34,0xB8,0x2E,0xDA},
141 {0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF}, 141 {0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF},
142 }; 142 };
@@ -383,7 +383,7 @@ int Apu_read_register( struct Gb_Apu* this, blip_time_t time, int addr )
383 return Wave_read( &this->wave, addr ); 383 return Wave_read( &this->wave, addr );
384 384
385 // Value read back has some bits always set 385 // Value read back has some bits always set
386 static byte const masks [] ICONST_ATTR = { 386 static byte const masks [] = {
387 0x80,0x3F,0x00,0xFF,0xBF, 387 0x80,0x3F,0x00,0xFF,0xBF,
388 0xFF,0x3F,0x00,0xFF,0xBF, 388 0xFF,0x3F,0x00,0xFF,0xBF,
389 0x7F,0xFF,0x9F,0xFF,0xBF, 389 0x7F,0xFF,0x9F,0xFF,0xBF,