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_vrc6_apu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/codecs/libgme/nes_vrc6_apu.h') diff --git a/apps/codecs/libgme/nes_vrc6_apu.h b/apps/codecs/libgme/nes_vrc6_apu.h index 39ed006100..8f3cbf4629 100644 --- a/apps/codecs/libgme/nes_vrc6_apu.h +++ b/apps/codecs/libgme/nes_vrc6_apu.h @@ -39,12 +39,12 @@ struct Nes_Vrc6_Apu { void Vrc6_init( struct Nes_Vrc6_Apu* this ); void Vrc6_reset( struct Nes_Vrc6_Apu* this ); void Vrc6_output( struct Nes_Vrc6_Apu* this, struct Blip_Buffer* ); -void Vrc6_end_frame( struct Nes_Vrc6_Apu* this, blip_time_t ) ICODE_ATTR; +void Vrc6_end_frame( struct Nes_Vrc6_Apu* this, blip_time_t ); // Oscillator 0 write-only registers are at $9000-$9002 // Oscillator 1 write-only registers are at $A000-$A002 // Oscillator 2 write-only registers are at $B000-$B002 -void Vrc6_write_osc( struct Nes_Vrc6_Apu* this, blip_time_t, int osc, int reg, int data ) ICODE_ATTR; +void Vrc6_write_osc( struct Nes_Vrc6_Apu* this, blip_time_t, int osc, int reg, int data ); static inline void Vrc6_osc_output( struct Nes_Vrc6_Apu* this, int i, struct Blip_Buffer* buf ) { -- cgit v1.2.3