From 7aaa5ebc0326d16b6d035a25b57e036e7b43b530 Mon Sep 17 00:00:00 2001 From: mamehaze Date: Tue, 25 Nov 2014 12:52:08 +0000 Subject: let's revisit this after 0.156, shipping it broken is a bad idea (nw) --- src/mame/drivers/raiden2.c | 7 +++++++ 1 file changed, 7 insertions(+) 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) -- cgit v1.2.3