Previous 199869 Revisions Next

r32066 Thursday 11th September, 2014 at 19:36:02 UTC by hap
kludge for sprite flickering (video raw params should solve it cleanly but we need to understand seibu crtc more)
[src/mame/drivers]raiden2.c

trunk/src/mame/drivers/raiden2.c
r32065r32066
636636      int npos = ppos + space.read_dword(cop_regs[0] + 0x10 + offset*4);
637637      int delta = (npos >> 16) - (ppos >> 16);
638638      space.write_dword(cop_regs[0] + 4 + offset*4, npos);
639
640      /* TODO: check the following, makes Zero Team to crash as soon
641         as this command is triggered (see above) --- or not, since
642         it was just changed */
643639      space.write_word(cop_regs[0] + 0x1e + offset*4, space.read_word(cop_regs[0] + 0x1e + offset*4) + delta);
644640      break;
645641   }
r32065r32066
20942090   MCFG_SCREEN_ADD("screen", RASTER)
20952091   MCFG_SCREEN_VIDEO_ATTRIBUTES(VIDEO_UPDATE_AFTER_VBLANK)
20962092   MCFG_SCREEN_REFRESH_RATE(55.47)    /* verified on pcb */
2097   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate *//2)
2093   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(500) /* not accurate */)
20982094   MCFG_SCREEN_SIZE(44*8, 34*8)
20992095   MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 0, 30*8-1)
21002096   MCFG_SCREEN_UPDATE_DRIVER(raiden2_state, screen_update_raiden2)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team