From eddd91aedf0a990f979d12d447e8cdf6037ddf9b Mon Sep 17 00:00:00 2001 From: Mamesick Date: Mon, 3 Aug 2015 18:11:23 +0200 Subject: [PATCH 1/3] Fix for MAMETESTERS bug #6005 The only game, it seems, that requires different fg offsets. --- src/mame/drivers/taito_x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/drivers/taito_x.c b/src/mame/drivers/taito_x.c index 46bf1bb2e65..78a1a582a2a 100644 --- a/src/mame/drivers/taito_x.c +++ b/src/mame/drivers/taito_x.c @@ -965,7 +965,7 @@ static MACHINE_CONFIG_START( ballbros, taitox_state ) MCFG_PALETTE_ADD("palette", 2048) MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB) - MCFG_VIDEO_START_OVERRIDE(taitox_state,seta_no_layers) + MCFG_VIDEO_START_OVERRIDE(taitox_state, kyustrkr_no_layers) /* sound hardware */ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") From 9980a71df84611be9f23484221262e501d6bd897 Mon Sep 17 00:00:00 2001 From: Mamesick Date: Mon, 3 Aug 2015 18:13:38 +0200 Subject: [PATCH 2/3] Fix for MAMETESTERS bug #6005 --- src/mame/video/seta.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mame/video/seta.c b/src/mame/video/seta.c index fa82df8d97b..816d7e98745 100644 --- a/src/mame/video/seta.c +++ b/src/mame/video/seta.c @@ -556,6 +556,15 @@ VIDEO_START_MEMBER(seta_state,seta_no_layers) m_seta001->set_bg_yoffsets( 0x1, -0x1 ); } +VIDEO_START_MEMBER(seta_state,kyustrkr_no_layers) +{ + VIDEO_START_CALL_MEMBER(seta_no_layers); + + // position kludges + m_seta001->set_fg_yoffsets( -0x0a, 0x0e ); + m_seta001->set_bg_yoffsets( 0x1, -0x1 ); +} + /*************************************************************************** From 6ec3c15ee19d08fdc2b3d1d4df8b1000843ca73e Mon Sep 17 00:00:00 2001 From: Mamesick Date: Mon, 3 Aug 2015 18:15:25 +0200 Subject: [PATCH 3/3] Fix for MAMETESTERS bug #6005 --- src/mame/includes/seta.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mame/includes/seta.h b/src/mame/includes/seta.h index 68b45917831..1f1c5d0a920 100644 --- a/src/mame/includes/seta.h +++ b/src/mame/includes/seta.h @@ -193,6 +193,7 @@ public: TILE_GET_INFO_MEMBER(get_tile_info_2); TILE_GET_INFO_MEMBER(get_tile_info_3); DECLARE_VIDEO_START(seta_no_layers); + DECLARE_VIDEO_START(kyustrkr_no_layers); DECLARE_VIDEO_START(twineagl_1_layer); DECLARE_VIDEO_START(setaroul_1_layer); DECLARE_VIDEO_START(seta_1_layer);