src/mame/video/stvvdp2.c
| r12629 | r12630 | |
| 4317 | 4317 | |
| 4318 | 4318 | |
| 4319 | 4319 | { |
| 4320 | /* Pukunpa */ |
| 4321 | if(STV_VDP2_SPWINEN) |
| 4322 | popmessage("Sprite Window enabled"); |
| 4323 | |
| 4320 | 4324 | /* Capcom Collection Dai 2 - Choh Makaimura (Duh!) */ |
| 4321 | 4325 | if(STV_VDP2_MZCTL & 0x1f && 0) |
| 4322 | 4326 | popmessage("Mosaic control enabled = %04x\n",STV_VDP2_MZCTL); |
| r12629 | r12630 | |
| 6424 | 6428 | stv_sprite_priorities_in_fb_line[y][sprite_priorities[0]] = 1; |
| 6425 | 6429 | continue; |
| 6426 | 6430 | }; |
| 6431 | |
| 6432 | if(STV_VDP2_SPWINEN && pix == 0x8000) /* Pukunpa */ |
| 6433 | continue; |
| 6434 | |
| 6427 | 6435 | b = (pix & 0x7c00) >> 10; |
| 6428 | 6436 | g = (pix & 0x03e0) >> 5; |
| 6429 | 6437 | r = (pix & 0x1f); |
| 6438 | |
| 6430 | 6439 | if ( color_offset_pal ) |
| 6431 | 6440 | { |
| 6432 | 6441 | stv_vdp2_compute_color_offset_RGB555( machine, &r, &g, &b, STV_VDP2_SPCOSL ); |
| 6433 | 6442 | } |
| 6443 | |
| 6434 | 6444 | bitmap_line[x] = b | g << 5 | r << 10; |
| 6435 | 6445 | } |
| 6436 | 6446 | else |