mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
Hopefully fix unused variable error in GCC 4.9.2
This commit is contained in:
parent
4a46c71274
commit
c0c22a0894
@ -114,7 +114,7 @@ INLINE UINT32 pixel_ycc_to_rgb_pal(UINT16 *pixel, const rgb_t *palette)
|
|||||||
|
|
||||||
#define TEXCOPY_M( _name, _src_type, _dest_type, _op, _len_div) \
|
#define TEXCOPY_M( _name, _src_type, _dest_type, _op, _len_div) \
|
||||||
INLINE void texcopy_##_name (texture_info *texture, const render_texinfo *texsource) { \
|
INLINE void texcopy_##_name (texture_info *texture, const render_texinfo *texsource) { \
|
||||||
const rgb_t *palbase = texsource->palette(); \
|
ATTR_UNUSED const rgb_t *palbase = texsource->palette(); \
|
||||||
int x, y; \
|
int x, y; \
|
||||||
/* loop over Y */ \
|
/* loop over Y */ \
|
||||||
for (y = 0; y < texsource->height; y++) { \
|
for (y = 0; y < texsource->height; y++) { \
|
||||||
@ -134,7 +134,7 @@ INLINE void texcopy_##_name (texture_info *texture, const render_texinfo *texsou
|
|||||||
|
|
||||||
#define TEXROT( _name, _src_type, _dest_type, _op) \
|
#define TEXROT( _name, _src_type, _dest_type, _op) \
|
||||||
INLINE void texcopy_rot_##_name (texture_info *texture, const render_texinfo *texsource) { \
|
INLINE void texcopy_rot_##_name (texture_info *texture, const render_texinfo *texsource) { \
|
||||||
const rgb_t *palbase = texsource->palette(); \
|
ATTR_UNUSED const rgb_t *palbase = texsource->palette(); \
|
||||||
int x, y; \
|
int x, y; \
|
||||||
quad_setup_data *setup = &texture->setup; \
|
quad_setup_data *setup = &texture->setup; \
|
||||||
int dudx = setup->dudx; \
|
int dudx = setup->dudx; \
|
||||||
|
Loading…
Reference in New Issue
Block a user