diff --git a/src/mame/drivers/mpu4hw.c b/src/mame/drivers/mpu4hw.c index c1b8040e8b9..8b7eb1e3027 100644 --- a/src/mame/drivers/mpu4hw.c +++ b/src/mame/drivers/mpu4hw.c @@ -277,7 +277,7 @@ static void lamp_extend_small(mpu4_state *state, int data) lamp_ext_data = 0x1f - ((data & 0xf8) >> 3);//remove the mux lines from the data - if ((state->m_lamp_strobe_ext_persistence == 0)) + if (state->m_lamp_strobe_ext_persistence == 0) //One write to reset the drive lines, one with the data, one to clear the lines, so only the 2nd write does anything //Once again, lamp persistences would take care of this, but we can't do that { diff --git a/src/mame/machine/vsnes.c b/src/mame/machine/vsnes.c index 1fccdc7b295..8658eaf1dd5 100644 --- a/src/mame/machine/vsnes.c +++ b/src/mame/machine/vsnes.c @@ -657,7 +657,7 @@ static void mapper4_irq( device_t *device, int scanline, int vblank, int blanked if (scanline < PPU_BOTTOM_VISIBLE_SCANLINE) { int priorCount = state->m_IRQ_count; - if ((state->m_IRQ_count == 0)) + if (state->m_IRQ_count == 0) { state->m_IRQ_count = state->m_IRQ_count_latch; } diff --git a/src/mame/video/carpolo.c b/src/mame/video/carpolo.c index a064e3f3911..8830b0c064a 100644 --- a/src/mame/video/carpolo.c +++ b/src/mame/video/carpolo.c @@ -427,7 +427,7 @@ static int check_sprite_left_goal_collision(running_machine &machine, int x1, in for (x = x1; x < x1 + SPRITE_WIDTH; x++) for (y = y1; y < y1 + SPRITE_HEIGHT; y++) - if ((state->m_sprite_goal_collision_bitmap1->pix16(y, x) == 1)) + if (state->m_sprite_goal_collision_bitmap1->pix16(y, x) == 1) { pen_t pix = state->m_sprite_goal_collision_bitmap2->pix16(y, x); @@ -485,7 +485,7 @@ static int check_sprite_right_goal_collision(running_machine &machine, int x1, i for (x = x1; x < x1 + SPRITE_WIDTH; x++) for (y = y1; y < y1 + SPRITE_HEIGHT; y++) - if ((state->m_sprite_goal_collision_bitmap1->pix16(y, x) == 1)) + if (state->m_sprite_goal_collision_bitmap1->pix16(y, x) == 1) { pen_t pix = state->m_sprite_goal_collision_bitmap2->pix16(y, x); @@ -525,7 +525,7 @@ static int check_sprite_border_collision(running_machine &machine, UINT8 x1, UIN for (x = 0; x < SPRITE_WIDTH; x++) for (y = 0; y < SPRITE_HEIGHT; y++) - if ((state->m_sprite_border_collision_bitmap->pix16(y, x) == 1)) + if (state->m_sprite_border_collision_bitmap->pix16(y, x) == 1) { if (((UINT8)(x1 + x) == LEFT_BORDER) || ((UINT8)(x1 + x) == RIGHT_BORDER))