summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/emu2413.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-30 12:35:12 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-30 12:35:12 +0000
commitc940811ade7d99a0e0d414df7c6509672413684a (patch)
tree26c8f8a3e1c858164073bb2610e99866d21947cc /apps/codecs/libgme/emu2413.c
parent72213e6b1b45a46ada6a6935ff911c3c56d02228 (diff)
downloadrockbox-c940811ade7d99a0e0d414df7c6509672413684a.tar.gz
rockbox-c940811ade7d99a0e0d414df7c6509672413684a.zip
Introduce CPU dependent IRAM configuration for libgme. Use ICODE_ATTR for an emu2413-function to speed up PP5022 by up to 6%.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30379 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libgme/emu2413.c')
-rw-r--r--apps/codecs/libgme/emu2413.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/codecs/libgme/emu2413.c b/apps/codecs/libgme/emu2413.c
index 48f32d8e57..44782c3dc1 100644
--- a/apps/codecs/libgme/emu2413.c
+++ b/apps/codecs/libgme/emu2413.c
@@ -1423,6 +1423,8 @@ calc_slot_hat (OPLL_SLOT *slot, e_int32 pgout_cym, e_uint32 noise)
1423} 1423}
1424 1424
1425static e_int16 1425static e_int16
1426calc (OPLL * opll) EMU2413_CALC_ICODE;
1427static e_int16
1426calc (OPLL * opll) 1428calc (OPLL * opll)
1427{ 1429{
1428 e_int32 i; 1430 e_int32 i;