Previous 15994 Revisions Next

r12630 Tuesday 16th August, 2011 at 02:30:16 UTC by Angelo Salese
Preliminary fix for Pukunpa sprite layer (uses sprite window), game is now working
[src/mame/video]stvvdp2.c

src/mame/video/stvvdp2.c
r12629r12630
43174317
43184318
43194319   {
4320      /* Pukunpa */
4321      if(STV_VDP2_SPWINEN)
4322         popmessage("Sprite Window enabled");
4323
43204324      /* Capcom Collection Dai 2 - Choh Makaimura (Duh!) */
43214325      if(STV_VDP2_MZCTL & 0x1f && 0)
43224326         popmessage("Mosaic control enabled = %04x\n",STV_VDP2_MZCTL);
r12629r12630
64246428                     stv_sprite_priorities_in_fb_line[y][sprite_priorities[0]] = 1;
64256429                     continue;
64266430                  };
6431
6432                  if(STV_VDP2_SPWINEN && pix == 0x8000) /* Pukunpa */
6433                     continue;
6434
64276435                  b = (pix & 0x7c00) >> 10;
64286436                  g = (pix & 0x03e0) >> 5;
64296437                  r = (pix & 0x1f);
6438
64306439                  if ( color_offset_pal )
64316440                  {
64326441                     stv_vdp2_compute_color_offset_RGB555( machine, &r, &g, &b, STV_VDP2_SPCOSL );
64336442                  }
6443
64346444                  bitmap_line[x] = b | g << 5 | r << 10;
64356445               }
64366446               else

Previous 15994 Revisions Next


© 1998-2018 The MESS Team