From a1145a1d040dd52b2b5d0e7fe965b6507475bbe2 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sat, 13 Aug 2011 16:41:14 +0000 Subject: 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 --- apps/codecs/libgme/nes_namco_apu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/codecs/libgme/nes_namco_apu.h') diff --git a/apps/codecs/libgme/nes_namco_apu.h b/apps/codecs/libgme/nes_namco_apu.h index 5f9f1c84a0..c47eacc4bb 100644 --- a/apps/codecs/libgme/nes_namco_apu.h +++ b/apps/codecs/libgme/nes_namco_apu.h @@ -37,7 +37,7 @@ void Namco_init( struct Nes_Namco_Apu* this ); void Namco_output( struct Nes_Namco_Apu* this, struct Blip_Buffer* ); void Namco_reset( struct Nes_Namco_Apu* this ); -void Namco_end_frame( struct Nes_Namco_Apu* this, blip_time_t ) ICODE_ATTR; +void Namco_end_frame( struct Nes_Namco_Apu* this, blip_time_t ); static inline uint8_t* namco_access( struct Nes_Namco_Apu* this ) { @@ -61,7 +61,7 @@ static inline void Namco_osc_output( struct Nes_Namco_Apu* this, int i, struct B } // Read/write data register is at 0x4800 -void Namco_run_until( struct Nes_Namco_Apu* this, blip_time_t ) ICODE_ATTR; +void Namco_run_until( struct Nes_Namco_Apu* this, blip_time_t ); static inline void Namco_write_data( struct Nes_Namco_Apu* this, blip_time_t time, int data ) { Namco_run_until( this, time ); -- cgit v1.2.3