summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author mamehaze <mamehaze@users.noreply.github.com>2014-11-25 12:52:08 +0000
committer mamehaze <mamehaze@users.noreply.github.com>2014-11-25 12:52:08 +0000
commit7aaa5ebc0326d16b6d035a25b57e036e7b43b530 (patch)
treead67854712bc3403bfa2e745438cd5b712b7e305
parentb2a1951ea0bf7b5b5a9a3b3607b404f9e8ac8867 (diff)
let's revisit this after 0.156, shipping it broken is a bad idea (nw)
-rw-r--r--src/mame/drivers/raiden2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mame/drivers/raiden2.c b/src/mame/drivers/raiden2.c
index ed5858a4e1b..85da54edcd3 100644
--- a/src/mame/drivers/raiden2.c
+++ b/src/mame/drivers/raiden2.c
@@ -1368,7 +1368,14 @@ static MACHINE_CONFIG_START( raiden2, raiden2_state )
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK)
+#if 1
+ MCFG_SCREEN_REFRESH_RATE(55.47) /* verified on pcb */
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(500) /* not accurate */)
+ MCFG_SCREEN_SIZE(44*8, 34*8)
+ MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0, 30*8-1)
+#else // this should be correct but currently causes sprite flickering, visible from the very start of the intro
MCFG_SCREEN_RAW_PARAMS(XTAL_32MHz/4,512,0,40*8,282,0,30*8) /* hand-tuned to match ~55.47 */
+#endif
MCFG_SCREEN_UPDATE_DRIVER(raiden2_state, screen_update_raiden2)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", raiden2)