summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/model2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/model2.h')
-rw-r--r--src/mame/includes/model2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/includes/model2.h b/src/mame/includes/model2.h
index 64d7a7f6c03..e71cf24f55f 100644
--- a/src/mame/includes/model2.h
+++ b/src/mame/includes/model2.h
@@ -257,7 +257,7 @@ struct m2_poly_extra_data
};
-INLINE UINT16 get_texel( UINT32 base_x, UINT32 base_y, int x, int y, UINT32 *sheet )
+static inline UINT16 get_texel( UINT32 base_x, UINT32 base_y, int x, int y, UINT32 *sheet )
{
UINT32 baseoffs = ((base_y/2)*512)+(base_x/2);
UINT32 texeloffs = ((y/2)*512)+(x/2);