Previous 15994 Revisions Next

r12070 Sunday 26th June, 2011 at 11:59:22 UTC by Angelo Salese
Attempt to fix VDP1 transparent bug ...
[src/mame/drivers]saturn.c
[src/mame/video]stvvdp1.c

src/mame/video/stvvdp1.c
r12069r12070
956956            pix = pix+(stv2_current_sprite.CMDCOLR&0xff80);
957957            transmask = 0x7f;
958958            mode = 3;
959         //  pix = machine.rand();
960959            break;
961960         case 0x0020: // mode 4 256 colour bank mode (8bits) (hanagumi title)
962961            pix = gfxdata[(patterndata+offsetcnt) & 0xfffff];
r12069r12070
967966         case 0x0028: // mode 5 32,768 colour RGB mode (16bits)
968967            pix = gfxdata[(patterndata+offsetcnt*2+1) & 0xfffff] | (gfxdata[(patterndata+offsetcnt*2) & 0xfffff]<<8) ;
969968            mode = 5;
970            transmask = 0xffff;
969            transmask = -1; /* TODO: check me */
971970            break;
972971         default: // other settings illegal
973972            pix = machine.rand();
974973            mode = 0;
975974            transmask = 0xff;
975            popmessage("Illegal Sprite Mode, contact MAMEdev");
976976      }
977977
978978
src/mame/drivers/saturn.c
r12069r12070
14641464{
14651465   saturn_state *state = machine.driver_data<saturn_state>();
14661466
1467   if(stv_irq.dma_end[2])   device_set_input_line_and_vector(state->m_maincpu, 6, HOLD_LINE, 0x49);
1467   if(stv_irq.dma_end[2]) device_set_input_line_and_vector(state->m_maincpu, 6, HOLD_LINE, 0x49);
14681468
14691469   DnMV_0(2);
14701470}

Previous 15994 Revisions Next


© 1998-2018 The MESS Team