Previous 15994 Revisions Next

r12422 Sunday 31st July, 2011 at 19:13:07 UTC by Angelo Salese
Fixed VDP2 Color RAM mirroring, fixes a color bug with Gale Racer key assignment menu
[src/mame/video]stvvdp2.c

src/mame/video/stvvdp2.c
r12421r12422
54255425{
54265426   saturn_state *state = space->machine().driver_data<saturn_state>();
54275427
5428   /* mirroring, Gale Racer relies on this */
5429   offset &= 0x3ff;
5430
54285431   return state->m_vdp2_vram[offset];
54295432}
54305433
r12421r12422
54325435{
54335436   saturn_state *state = space->machine().driver_data<saturn_state>();
54345437   int r,g,b;
5438
5439   /* mirroring, Gale Racer relies on this */
5440   offset &= 0x3ff;
5441
54355442   COMBINE_DATA(&state->m_vdp2_cram[offset]);
54365443
5437//  popmessage("%01x\n",STV_VDP2_CRMD);
5438
54395444   switch( STV_VDP2_CRMD )
54405445   {
54415446      /*Mode 2/3*/

Previous 15994 Revisions Next


© 1998-2018 The MESS Team