diff options
author | David Haywood <mamehaze@users.noreply.github.com> | 2015-08-04 11:33:07 +0100 |
---|---|---|
committer | David Haywood <mamehaze@users.noreply.github.com> | 2015-08-04 11:33:07 +0100 |
commit | 66a253160a4308c70a797eac9c6514cddc3ca4a9 (patch) | |
tree | c271fe155b5b79a8e179861a93b53e5354432315 | |
parent | ead98c56a6d2a268652e0de619cee262b0c84cfb (diff) | |
parent | 6ec3c15ee19d08fdc2b3d1d4df8b1000843ca73e (diff) |
Merge pull request #279 from mamesick/master
Fix for MAMETESTER bug #6005
-rw-r--r-- | src/mame/drivers/taito_x.c | 2 | ||||
-rw-r--r-- | src/mame/includes/seta.h | 1 | ||||
-rw-r--r-- | src/mame/video/seta.c | 9 |
3 files changed, 11 insertions, 1 deletions
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") 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); 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 ); +} + /*************************************************************************** |