From ba268b66936bcee6d5343633c3f44534dc24989a Mon Sep 17 00:00:00 2001 From: cam900 Date: Fri, 21 Dec 2018 18:42:04 +0900 Subject: deco32.cpp : Fix regression in capteven* (#4419) --- src/mame/drivers/deco32.cpp | 4 ++-- src/mame/includes/deco32.h | 2 +- src/mame/video/deco32.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mame/drivers/deco32.cpp b/src/mame/drivers/deco32.cpp index ebe29ad6eb9..b80fb9746ee 100644 --- a/src/mame/drivers/deco32.cpp +++ b/src/mame/drivers/deco32.cpp @@ -990,7 +990,7 @@ WRITE8_MEMBER( deco32_state::eeprom_w ) m_eeprom->di_write(BIT(data, 4)); m_eeprom->cs_write(BIT(data, 6) ? ASSERT_LINE : CLEAR_LINE); - pri_w(data & 0x03, 0xffffffff); + pri_w(data & 0x03); } WRITE8_MEMBER( dragngun_state::eeprom_w ) @@ -1130,7 +1130,7 @@ WRITE32_MEMBER( nslasher_state::tattass_control_w ) } /* Playfield control - Only written in full word memory accesses */ - pri_w(data & 0x3, 0xffffffff); /* Bit 0 - layer priority toggle, Bit 1 - BG2/3 Joint mode (8bpp) */ + pri_w(data & 0x3); /* Bit 0 - layer priority toggle, Bit 1 - BG2/3 Joint mode (8bpp) */ /* Sound board reset control */ if (BIT(data, 7)) diff --git a/src/mame/includes/deco32.h b/src/mame/includes/deco32.h index d30a915821b..308911d3465 100644 --- a/src/mame/includes/deco32.h +++ b/src/mame/includes/deco32.h @@ -63,7 +63,7 @@ protected: template DECLARE_READ32_MEMBER(spriteram_r); template DECLARE_WRITE32_MEMBER(spriteram_w); template DECLARE_WRITE32_MEMBER(buffer_spriteram_w); - void pri_w(u32 data, u32 mem_mask); + void pri_w(u32 data); // all but captaven DECLARE_WRITE32_MEMBER(buffered_palette_w); diff --git a/src/mame/video/deco32.cpp b/src/mame/video/deco32.cpp index d78a3d25fb3..811b92a9b0d 100644 --- a/src/mame/video/deco32.cpp +++ b/src/mame/video/deco32.cpp @@ -5,7 +5,7 @@ /******************************************************************************/ -void deco32_state::pri_w(u32 data, u32 mem_mask) +void deco32_state::pri_w(u32 data) { m_pri = data; } -- cgit v1.2.3