diff --git a/gfx/drivers/ctr_gu.h b/gfx/drivers/ctr_gu.h index 5ea0bdd9ef..914821d46f 100644 --- a/gfx/drivers/ctr_gu.h +++ b/gfx/drivers/ctr_gu.h @@ -155,7 +155,8 @@ static inline void ctrGuSetVertexShaderFloatUniform(int id, float* data, int cou #define CTRGU_ATTRIBFMT(f, n) ((((n)-1)<<2)|((f)&3)) -void ctrGuSetAttributeBuffers(u32 total_attributes, void* base_address, u64 attribute_formats, u32 buffer_size) +__attribute__((always_inline)) +static inline void ctrGuSetAttributeBuffers(u32 total_attributes, void* base_address, u64 attribute_formats, u32 buffer_size) { u32 param[0x28];