summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/nes_apu.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-13 16:41:14 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-13 16:41:14 +0000
commita1145a1d040dd52b2b5d0e7fe965b6507475bbe2 (patch)
tree988f845d688974dd7db1950243ef09cc39ed443c /apps/codecs/libgme/nes_apu.c
parent724a2d2514578297a7fe21dc4c17a7b51a25758d (diff)
downloadrockbox-a1145a1d040dd52b2b5d0e7fe965b6507475bbe2.tar.gz
rockbox-a1145a1d040dd52b2b5d0e7fe965b6507475bbe2.zip
Remove all IRAM attributes from libGME to be able to restart the IRAM optimization on a clean code base. As first step move the sample buffers to IRAM which results in a 1-5% speedup for all codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30284 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libgme/nes_apu.c')
-rw-r--r--apps/codecs/libgme/nes_apu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libgme/nes_apu.c b/apps/codecs/libgme/nes_apu.c
index d4e6e8df4d..7d2814b3d8 100644
--- a/apps/codecs/libgme/nes_apu.c
+++ b/apps/codecs/libgme/nes_apu.c
@@ -272,7 +272,7 @@ void Apu_end_frame( struct Nes_Apu* this, nes_time_t end_time )
272 272
273// registers 273// registers
274 274
275static const unsigned char length_table [0x20] ICONST_ATTR = { 275static const unsigned char length_table [0x20] = {
276 0x0A, 0xFE, 0x14, 0x02, 0x28, 0x04, 0x50, 0x06, 276 0x0A, 0xFE, 0x14, 0x02, 0x28, 0x04, 0x50, 0x06,
277 0xA0, 0x08, 0x3C, 0x0A, 0x0E, 0x0C, 0x1A, 0x0E, 277 0xA0, 0x08, 0x3C, 0x0A, 0x0E, 0x0C, 0x1A, 0x0E,
278 0x0C, 0x10, 0x18, 0x12, 0x30, 0x14, 0x60, 0x16, 278 0x0C, 0x10, 0x18, 0x12, 0x30, 0x14, 0x60, 0x16,