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/opl_apu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/codecs/libgme/opl_apu.h') diff --git a/apps/codecs/libgme/opl_apu.h b/apps/codecs/libgme/opl_apu.h index 53fc912c4c..5ea8185f5f 100644 --- a/apps/codecs/libgme/opl_apu.h +++ b/apps/codecs/libgme/opl_apu.h @@ -51,12 +51,12 @@ static inline void Opl_osc_output( struct Opl_Apu* this, int i, struct Blip_Buff } static inline void Opl_set_output( struct Opl_Apu* this, struct Blip_Buffer* buf ) { Opl_osc_output( this, 0, buf ); } -void Opl_end_frame( struct Opl_Apu* this, blip_time_t ) ICODE_ATTR; +void Opl_end_frame( struct Opl_Apu* this, blip_time_t ); static inline void Opl_write_addr( struct Opl_Apu* this, int data ) { this->addr = data; } -void Opl_write_data( struct Opl_Apu* this, blip_time_t, int data ) ICODE_ATTR; +void Opl_write_data( struct Opl_Apu* this, blip_time_t, int data ); -int Opl_read( struct Opl_Apu* this, blip_time_t, int port ) ICODE_ATTR; +int Opl_read( struct Opl_Apu* this, blip_time_t, int port ); static inline bool Opl_supported( void ) { return true; } -- cgit v1.2.3