summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2010-03-02 04:01:50 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2010-03-02 04:01:50 +0000
commit925fe176f848bca89aa249c87c88fc284b820e05 (patch)
treebd8c6552ed80af465969f9f285afd9c6a9342c43 /src
parent21341a5d6ac56b4382cb199cd17e3ce898612abf (diff)
Fixed GCC compile errors (no credit)
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/namcos23.c6
-rw-r--r--src/mame/machine/namco51.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/namcos23.c b/src/mame/drivers/namcos23.c
index 547dd2fb4de..e86709b3961 100644
--- a/src/mame/drivers/namcos23.c
+++ b/src/mame/drivers/namcos23.c
@@ -802,7 +802,7 @@ Notes:
#define S23_HSYNC (16666150)
#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 UINT32 *namcos23_textram, *namcos23_shared_ram;
static UINT32 *namcos23_charram;
@@ -1023,7 +1023,7 @@ static WRITE32_HANDLER( s23_txtchar_w )
COMBINE_DATA(&namcos23_charram[offset]);
gfx_element_mark_dirty(space->machine->gfx[0], offset/32);
}
-
+#if 0
static READ32_HANDLER( ss23_vstat_r )
{
if (offset == 1)
@@ -1040,7 +1040,7 @@ static READ32_HANDLER( ss23_vstat_r )
}
return ss23_vstat;
}
-
+#endif
static UINT8 nthbyte( const UINT32 *pSource, int offs )
{
pSource += offs/4;
diff --git a/src/mame/machine/namco51.c b/src/mame/machine/namco51.c
index f6df74d88f2..2610d36253d 100644
--- a/src/mame/machine/namco51.c
+++ b/src/mame/machine/namco51.c
@@ -396,7 +396,7 @@ static DEVICE_START( namco_51xx )
/* resolve our write callbacks */
devcb_resolve_write8(&state->out[0], &config->out[0], device);
devcb_resolve_write8(&state->out[1], &config->out[1], device);
-
+#if 0
INT32 lastcoins,lastbuttons;
INT32 credits;
INT32 coins[2];
@@ -404,7 +404,7 @@ static DEVICE_START( namco_51xx )
INT32 creds_per_coin[2];
INT32 in_count;
INT32 mode,coincred_mode,remap_joy;
-
+#endif
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->credits);