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/gb_apu.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/codecs/libgme/gb_apu.h') diff --git a/apps/codecs/libgme/gb_apu.h b/apps/codecs/libgme/gb_apu.h index 642db8f32f..69307b9840 100644 --- a/apps/codecs/libgme/gb_apu.h +++ b/apps/codecs/libgme/gb_apu.h @@ -49,16 +49,16 @@ struct Gb_Apu { void Apu_init( struct Gb_Apu* this ); // Emulates to time t, then writes data to addr -void Apu_write_register( struct Gb_Apu* this, blip_time_t t, int addr, int data ) ICODE_ATTR; +void Apu_write_register( struct Gb_Apu* this, blip_time_t t, int addr, int data ); // Emulates to time t, then subtracts t from the current time. // OK if previous write call had time slightly after t. -void Apu_end_frame( struct Gb_Apu* this,blip_time_t t ) ICODE_ATTR; +void Apu_end_frame( struct Gb_Apu* this,blip_time_t t ); // More features // Emulates to time t, then reads from addr -int Apu_read_register( struct Gb_Apu* this, blip_time_t t, int addr ) ICODE_ATTR; +int Apu_read_register( struct Gb_Apu* this, blip_time_t t, int addr ); // Resets hardware to state after power, BEFORE boot ROM runs. Mode selects // sound hardware. If agb_wave is true, enables AGB's extra wave features. @@ -80,6 +80,6 @@ void Apu_reduce_clicks( struct Gb_Apu* this, bool reduce ); void Apu_set_tempo( struct Gb_Apu* this, int t ); -void write_osc( struct Gb_Apu* this, int reg, int old_data, int data ) ICODE_ATTR; +void write_osc( struct Gb_Apu* this, int reg, int old_data, int data ); #endif -- cgit v1.2.3