From bac17ec84acf0d3af45d0e084543bf3f2f356c97 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Sun, 5 Apr 2015 20:48:23 +0100 Subject: [PATCH] (3DS) add missing inline directive. --- gfx/drivers/ctr_gu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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];