Fixed GCC compile errors (no credit)

This commit is contained in:
R. Belmont 2010-03-02 04:01:50 +00:00
parent 21341a5d6a
commit 925fe176f8
2 changed files with 5 additions and 5 deletions

View File

@ -802,7 +802,7 @@ Notes:
#define S23_HSYNC (16666150) #define S23_HSYNC (16666150)
#define S23_MODECLOCK (130205) #define S23_MODECLOCK (130205)
static int ss23_vstat = 0, hstat = 0, vstate = 0; //static int ss23_vstat = 0, hstat = 0, vstate = 0;
static tilemap_t *bgtilemap; static tilemap_t *bgtilemap;
static UINT32 *namcos23_textram, *namcos23_shared_ram; static UINT32 *namcos23_textram, *namcos23_shared_ram;
static UINT32 *namcos23_charram; static UINT32 *namcos23_charram;
@ -1023,7 +1023,7 @@ static WRITE32_HANDLER( s23_txtchar_w )
COMBINE_DATA(&namcos23_charram[offset]); COMBINE_DATA(&namcos23_charram[offset]);
gfx_element_mark_dirty(space->machine->gfx[0], offset/32); gfx_element_mark_dirty(space->machine->gfx[0], offset/32);
} }
#if 0
static READ32_HANDLER( ss23_vstat_r ) static READ32_HANDLER( ss23_vstat_r )
{ {
if (offset == 1) if (offset == 1)
@ -1040,7 +1040,7 @@ static READ32_HANDLER( ss23_vstat_r )
} }
return ss23_vstat; return ss23_vstat;
} }
#endif
static UINT8 nthbyte( const UINT32 *pSource, int offs ) static UINT8 nthbyte( const UINT32 *pSource, int offs )
{ {
pSource += offs/4; pSource += offs/4;

View File

@ -396,7 +396,7 @@ static DEVICE_START( namco_51xx )
/* resolve our write callbacks */ /* resolve our write callbacks */
devcb_resolve_write8(&state->out[0], &config->out[0], device); devcb_resolve_write8(&state->out[0], &config->out[0], device);
devcb_resolve_write8(&state->out[1], &config->out[1], device); devcb_resolve_write8(&state->out[1], &config->out[1], device);
#if 0
INT32 lastcoins,lastbuttons; INT32 lastcoins,lastbuttons;
INT32 credits; INT32 credits;
INT32 coins[2]; INT32 coins[2];
@ -404,7 +404,7 @@ static DEVICE_START( namco_51xx )
INT32 creds_per_coin[2]; INT32 creds_per_coin[2];
INT32 in_count; INT32 in_count;
INT32 mode,coincred_mode,remap_joy; INT32 mode,coincred_mode,remap_joy;
#endif
state_save_register_device_item(device, 0, state->lastcoins); state_save_register_device_item(device, 0, state->lastcoins);
state_save_register_device_item(device, 0, state->lastbuttons); state_save_register_device_item(device, 0, state->lastbuttons);
state_save_register_device_item(device, 0, state->credits); state_save_register_device_item(device, 0, state->credits);