diff options
author | cam900 <dbtlrchl@naver.com> | 2018-12-21 18:42:04 +0900 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2018-12-21 10:42:04 +0100 |
commit | ba268b66936bcee6d5343633c3f44534dc24989a (patch) | |
tree | 5df62f345e58d8e51a956ece463ff6c651d59d5f | |
parent | fae17ac3a675f32afe72e36f286abbfb4dfc25f7 (diff) |
deco32.cpp : Fix regression in capteven* (#4419)
-rw-r--r-- | src/mame/drivers/deco32.cpp | 4 | ||||
-rw-r--r-- | src/mame/includes/deco32.h | 2 | ||||
-rw-r--r-- | 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<int Chip> DECLARE_READ32_MEMBER(spriteram_r); template<int Chip> DECLARE_WRITE32_MEMBER(spriteram_w); template<int Chip> 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; } |