From 2dd65fd840ce1d4b73d48c3c5a3ad4ab0c397bef Mon Sep 17 00:00:00 2001 From: cam900 Date: Wed, 14 Feb 2018 12:43:55 +0900 Subject: =?UTF-8?q?darkseal=20:=20Dark=20Seal=20/=20Gate=20of=20Doom=20has?= =?UTF-8?q?=2064x64=20pf1=20and=20full=200x2000=20are=E2=80=A6=20(#3198)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * darkseal : Dark Seal / Gate of Doom has 64x64 pf1 and full 0x2000 area of pf1 ram is used, fix this * darkseal : Minor duplicate cleanup --- src/mame/drivers/darkseal.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/mame/drivers/darkseal.cpp b/src/mame/drivers/darkseal.cpp index dcbaeb6f9ac..c4b28f56339 100644 --- a/src/mame/drivers/darkseal.cpp +++ b/src/mame/drivers/darkseal.cpp @@ -39,7 +39,6 @@ WRITE16_MEMBER(darkseal_state::control_w) return; case 8: /* Sound CPU write */ m_soundlatch->write(space, 0, data & 0xff); - m_audiocpu->set_input_line(0, HOLD_LINE); return; case 0xa: /* IRQ Ack (VBL) */ return; @@ -221,7 +220,6 @@ static const gfx_layout seallayout2 = static GFXDECODE_START( darkseal ) GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 16 ) /* Characters 8x8 */ GFXDECODE_ENTRY( "gfx2", 0, seallayout, 768, 16 ) /* Tiles 16x16 */ - GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 16 ) /* Characters 8x8 */ GFXDECODE_ENTRY( "gfx3", 0, seallayout, 1024, 16 ) /* Tiles 16x16 */ GFXDECODE_ENTRY( "gfx4", 0, seallayout2, 256, 32 ) /* Sprites 16x16 */ GFXDECODE_END @@ -254,7 +252,7 @@ MACHINE_CONFIG_START(darkseal_state::darkseal) MCFG_DEVICE_ADD("tilegen1", DECO16IC, 0) MCFG_DECO16IC_SPLIT(0) - MCFG_DECO16IC_PF1_SIZE(DECO_64x32) + MCFG_DECO16IC_PF1_SIZE(DECO_64x64) MCFG_DECO16IC_PF2_SIZE(DECO_64x64) // both these tilemaps need to be twice the y size of usual! MCFG_DECO16IC_PF1_TRANS_MASK(0x0f) MCFG_DECO16IC_PF2_TRANS_MASK(0x0f) @@ -276,12 +274,12 @@ MACHINE_CONFIG_START(darkseal_state::darkseal) MCFG_DECO16IC_PF2_COL_BANK(0x00) MCFG_DECO16IC_PF1_COL_MASK(0x0f) MCFG_DECO16IC_PF2_COL_MASK(0x0f) - MCFG_DECO16IC_PF12_8X8_BANK(2) - MCFG_DECO16IC_PF12_16X16_BANK(3) + MCFG_DECO16IC_PF12_8X8_BANK(0) + MCFG_DECO16IC_PF12_16X16_BANK(2) MCFG_DECO16IC_GFXDECODE("gfxdecode") MCFG_DEVICE_ADD("spritegen", DECO_SPRITE, 0) - MCFG_DECO_SPRITE_GFX_REGION(4) + MCFG_DECO_SPRITE_GFX_REGION(3) MCFG_DECO_SPRITE_GFXDECODE("gfxdecode") @@ -289,6 +287,7 @@ MACHINE_CONFIG_START(darkseal_state::darkseal) MCFG_SPEAKER_STANDARD_MONO("mono") MCFG_GENERIC_LATCH_8_ADD("soundlatch") + MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", 0)) MCFG_SOUND_ADD("ym1", YM2203, XTAL(32'220'000)/8) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.45) -- cgit v1.2.3