mirror of
https://github.com/holub/mame
synced 2025-10-05 16:50:57 +03:00
Attempt to fix MAMETESTERS bug #5939
05939: prehisle, gensitou, prehislek, prehisleu: Wrong speed. This is a guesswork but in any case it's better than use a standard refresh rate of 60.00 Hz. Values are taken from snk68.c driver which contains games with very similar (if not identical) hardware to prehisle. Notice that the new refresh rate is identical to NeoGeo and this should not be a surprise since we're talking about SNK manufacturer
This commit is contained in:
parent
e92ac9e0fa
commit
6972e75f62
@ -205,10 +205,10 @@ static MACHINE_CONFIG_START( prehisle, prehisle_state )
|
||||
|
||||
/* video hardware */
|
||||
MCFG_SCREEN_ADD("screen", RASTER)
|
||||
MCFG_SCREEN_REFRESH_RATE(60)
|
||||
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
|
||||
MCFG_SCREEN_SIZE(32*8, 32*8)
|
||||
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
|
||||
// the screen parameters are guessed but should be accurate. They
|
||||
// give a theoretical refresh rate of 59.1856Hz while the measured
|
||||
// rate on a snk68.c with very similar hardware board is 59.16Hz.
|
||||
MCFG_SCREEN_RAW_PARAMS(XTAL_24MHz/4, 384, 0, 256, 264, 16, 240)
|
||||
MCFG_SCREEN_UPDATE_DRIVER(prehisle_state, screen_update_prehisle)
|
||||
MCFG_SCREEN_PALETTE("palette")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user