diff options
author | Happy <Happy-yappH@users.noreply.github.com> | 2015-09-26 13:16:41 -0600 |
---|---|---|
committer | Happy <Happy-yappH@users.noreply.github.com> | 2015-09-26 13:16:41 -0600 |
commit | f9e69549f6aa3b7147a3eae1f4b35e5b5da7f22c (patch) | |
tree | 49488d2e2048aff3350a7214c052229a9f5da176 /src/mess/drivers | |
parent | 55a7498af4a738eee8b7fc489cafbfd590e529ad (diff) |
VI timing period is now set dynamically from the VI registers.
VI timing should now be accurate (for NTSC)
Diffstat (limited to 'src/mess/drivers')
-rw-r--r-- | src/mess/drivers/n64.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mess/drivers/n64.c b/src/mess/drivers/n64.c index 91c6f4632c0..48e7e403bca 100644 --- a/src/mess/drivers/n64.c +++ b/src/mess/drivers/n64.c @@ -411,10 +411,12 @@ static MACHINE_CONFIG_START( n64, n64_mess_state ) /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) - MCFG_SCREEN_REFRESH_RATE(60) + /* Video DACRATE is for quarter pixels, so the horizontal is also given in quarter pixels. However, the horizontal and vertical timing and sizing is adjustable by register and will be reset when the registers are written. */ + MCFG_SCREEN_RAW_PARAMS(DACRATE_NTSC,3093,0,3093,525,0,525) + //MCFG_SCREEN_REFRESH_RATE(60) //MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) - MCFG_SCREEN_SIZE(640, 525) - MCFG_SCREEN_VISIBLE_AREA(0, 639, 0, 479) + //MCFG_SCREEN_SIZE(640, 525) + //MCFG_SCREEN_VISIBLE_AREA(0, 639, 0, 479) MCFG_SCREEN_UPDATE_DRIVER(n64_state, screen_update_n64) MCFG_SCREEN_VBLANK_DRIVER(n64_state, screen_eof_n64) |