macro naming clean up (was a copy&paste mistake from 30693). nw.

This commit is contained in:
Fabio Priuli 2014-06-03 14:10:12 +00:00
parent fd5e57e97c
commit 5ac4a7d9ba
13 changed files with 17 additions and 17 deletions

View File

@ -60,7 +60,7 @@ public:
virtual void machine_reset();
UINT32 screen_update_asterix(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(asterix_interrupt);
MCFG_K05324X_CB_MEMBER(sprite_callback);
K05324X_CB_MEMBER(sprite_callback);
protected:
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);

View File

@ -52,7 +52,7 @@ public:
virtual void video_start();
UINT32 screen_update_lethalen(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(lethalen_interrupt);
MCFG_K05324X_CB_MEMBER(sprite_callback);
K05324X_CB_MEMBER(sprite_callback);
};
/*----------- defined in video/lethal.c -----------*/

View File

@ -56,7 +56,7 @@ public:
virtual void machine_reset();
UINT32 screen_update_parodius(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(parodius_interrupt);
MCFG_K05324X_CB_MEMBER(sprite_callback);
K05324X_CB_MEMBER(sprite_callback);
protected:
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);

View File

@ -55,7 +55,7 @@ public:
virtual void machine_reset();
virtual void video_start();
UINT32 screen_update_rollerg(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
MCFG_K05324X_CB_MEMBER(sprite_callback);
K05324X_CB_MEMBER(sprite_callback);
K051316_CB_MEMBER(zoom_callback);
protected:

View File

@ -42,7 +42,7 @@ public:
UINT32 screen_update_surpratk(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(surpratk_interrupt);
MCFG_K05324X_CB_MEMBER(sprite_callback);
K05324X_CB_MEMBER(sprite_callback);
};
/*----------- defined in video/surpratk.c -----------*/

View File

@ -169,9 +169,9 @@ public:
inline UINT32 tmnt2_get_word( UINT32 addr );
void tmnt2_put_word( address_space &space, UINT32 addr, UINT16 data );
DECLARE_WRITE8_MEMBER(volume_callback);
MCFG_K05324X_CB_MEMBER(lgtnfght_sprite_callback);
MCFG_K05324X_CB_MEMBER(blswhstl_sprite_callback);
MCFG_K05324X_CB_MEMBER(prmrsocr_sprite_callback);
K05324X_CB_MEMBER(lgtnfght_sprite_callback);
K05324X_CB_MEMBER(blswhstl_sprite_callback);
K05324X_CB_MEMBER(prmrsocr_sprite_callback);
protected:
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);

View File

@ -18,7 +18,7 @@ WRITE16_MEMBER(asterix_state::asterix_spritebank_w)
reset_spritebank(machine());
}
MCFG_K05324X_CB_MEMBER(asterix_state::sprite_callback)
K05324X_CB_MEMBER(asterix_state::sprite_callback)
{
int pri = (*color & 0x00e0) >> 2;
if (pri <= m_layerpri[2])

View File

@ -4,7 +4,7 @@
typedef device_delegate<void (int *code, int *color, int *priority)> k05324x_cb_delegate;
#define MCFG_K05324X_CB_MEMBER(_name) void _name(int *code, int *color, int *priority)
#define K05324X_CB_MEMBER(_name) void _name(int *code, int *color, int *priority)
#define MCFG_K05324X_BPP(_bpp) \

View File

@ -10,7 +10,7 @@
#include "emu.h"
#include "includes/lethal.h"
MCFG_K05324X_CB_MEMBER(lethal_state::sprite_callback)
K05324X_CB_MEMBER(lethal_state::sprite_callback)
{
int pri = (*color & 0xfff0);
*color = *color & 0x000f;

View File

@ -22,7 +22,7 @@ void parodius_tile_callback( running_machine &machine, int layer, int bank, int
***************************************************************************/
MCFG_K05324X_CB_MEMBER(parodius_state::sprite_callback)
K05324X_CB_MEMBER(parodius_state::sprite_callback)
{
int pri = 0x20 | ((*color & 0x60) >> 2);
if (pri <= m_layerpri[2])

View File

@ -7,7 +7,7 @@
***************************************************************************/
MCFG_K05324X_CB_MEMBER(rollerg_state::sprite_callback)
K05324X_CB_MEMBER(rollerg_state::sprite_callback)
{
#if 0
if (machine().input().code_pressed(KEYCODE_Q) && (*color & 0x80)) *color = rand();

View File

@ -23,7 +23,7 @@ void surpratk_tile_callback( running_machine &machine, int layer, int bank, int
***************************************************************************/
MCFG_K05324X_CB_MEMBER(surpratk_state::sprite_callback)
K05324X_CB_MEMBER(surpratk_state::sprite_callback)
{
int pri = 0x20 | ((*color & 0x60) >> 2);
if (pri <= m_layerpri[2])

View File

@ -157,7 +157,7 @@ void thndrx2_sprite_callback( running_machine &machine, int *code, int *color, i
***************************************************************************/
MCFG_K05324X_CB_MEMBER(tmnt_state::lgtnfght_sprite_callback)
K05324X_CB_MEMBER(tmnt_state::lgtnfght_sprite_callback)
{
int pri = 0x20 | ((*color & 0x60) >> 2);
if (pri <= m_layerpri[2])
@ -172,7 +172,7 @@ MCFG_K05324X_CB_MEMBER(tmnt_state::lgtnfght_sprite_callback)
*color = m_sprite_colorbase + (*color & 0x1f);
}
MCFG_K05324X_CB_MEMBER(tmnt_state::blswhstl_sprite_callback)
K05324X_CB_MEMBER(tmnt_state::blswhstl_sprite_callback)
{
#if 0
if (machine().input().code_pressed(KEYCODE_Q) && (*color & 0x20)) *color = rand();
@ -192,7 +192,7 @@ if (machine().input().code_pressed(KEYCODE_E) && (*color & 0x80)) *color = rand(
*color = m_sprite_colorbase + (*color & 0x1f);
}
MCFG_K05324X_CB_MEMBER(tmnt_state::prmrsocr_sprite_callback)
K05324X_CB_MEMBER(tmnt_state::prmrsocr_sprite_callback)
{
int pri = 0x20 | ((*color & 0x60) >> 2);
if (pri <= m_layerpri[2])