diff --git a/src/emu/cpu/tms32025/32025dsm.c b/src/emu/cpu/tms32025/32025dsm.c index 9388bf0a9d9..c49d2611954 100644 --- a/src/emu/cpu/tms32025/32025dsm.c +++ b/src/emu/cpu/tms32025/32025dsm.c @@ -388,7 +388,7 @@ static void InitDasm32025(void) CPU_DISASSEMBLE( tms32025 ) { UINT32 flags = 0; - int a, b, c, d, k, m, n, p, r, s, t, w, x; /* these can all be filled in by parsing an instruction */ + int a, b, c, d, k, m, n, p, r, s, t, w; /* these can all be filled in by parsing an instruction */ int i; int op; int cnt = 1; @@ -433,7 +433,7 @@ CPU_DISASSEMBLE( tms32025 ) /* shift out operands */ cp = Op[op].parse; - a = b = c = d = k = m = n = p = r = s = t = w = x = 0; + a = b = c = d = k = m = n = p = r = s = t = w = 0; while (bit >= 0) { diff --git a/src/emu/sound/ymf271.c b/src/emu/sound/ymf271.c index c5c15f2080f..f26cff955a4 100644 --- a/src/emu/sound/ymf271.c +++ b/src/emu/sound/ymf271.c @@ -1221,13 +1221,13 @@ static void write_register(YMF271Chip *chip, int slotnum, int reg, int data) static void ymf271_write_fm(YMF271Chip *chip, int grp, int adr, int data) { int reg; - int slotnum; + //int slotnum; int slot_group; int sync_mode, sync_reg; //YMF271Slot *slot; - slotnum = 12*grp; - slotnum += fm_tab[adr & 0xf]; + //slotnum = 12*grp; + //slotnum += fm_tab[adr & 0xf]; //slot = &chip->slots[slotnum]; slot_group = fm_tab[adr & 0xf]; diff --git a/src/mame/audio/turbo.c b/src/mame/audio/turbo.c index 9b32b270a83..8b2279fa5f5 100644 --- a/src/mame/audio/turbo.c +++ b/src/mame/audio/turbo.c @@ -75,7 +75,9 @@ WRITE8_DEVICE_HANDLER( turbo_sound_a_w ) samples_device *samples = device->machine().device("samples"); #endif turbo_state *state = device->machine().driver_data(); +#if (!DISCRETE_TEST) UINT8 diff = data ^ state->m_sound_state[0]; +#endif state->m_sound_state[0] = data; #if (!DISCRETE_TEST) diff --git a/src/mame/video/midzeus.c b/src/mame/video/midzeus.c index 6be9418b542..fd0f7ddfe37 100644 --- a/src/mame/video/midzeus.c +++ b/src/mame/video/midzeus.c @@ -1288,7 +1288,7 @@ static void render_poly_texture(void *dest, INT32 scanline, const poly_extent *e INT32 curz = extent->param[0].start; INT32 curu = extent->param[1].start; INT32 curv = extent->param[2].start; - INT32 curi = extent->param[3].start; + //INT32 curi = extent->param[3].start; INT32 dzdx = extent->param[0].dpdx; INT32 dudx = extent->param[1].dpdx; INT32 dvdx = extent->param[2].dpdx; @@ -1334,7 +1334,7 @@ static void render_poly_texture(void *dest, INT32 scanline, const poly_extent *e curz += dzdx; curu += dudx; curv += dvdx; - curi += didx; + //curi += didx; } }