src/mame/video/snes.c
| r5421 | r5422 | |
| 476 | 476 | color_shift = 0; //n/a, pal offset is always zero |
| 477 | 477 | color_planes = 8; |
| 478 | 478 | tile_divider = 4; |
| 479 | if(snes_ppu.direct_color) //we don't know what games trigger this one... |
| 480 | fatalerror("8bpp graphics with direct color, gfx mode used = %02x",snes_ppu.mode); |
| 479 | 481 | break; |
| 480 | 482 | } |
| 481 | 483 | |
| r5421 | r5422 | |
| 694 | 696 | { |
| 695 | 697 | UINT16 clr; |
| 696 | 698 | /* Direct select, but only outside EXTBG! */ |
| 697 | | if (snes_ppu.direct_color && layer == 1) |
| 699 | if (snes_ppu.direct_color && layer == 0) |
| 698 | 700 | clr = ((colour & 0x07) << 2) | ((colour & 0x38) << 4) | ((colour & 0xc0) << 7); |
| 699 | 701 | else |
| 700 | 702 | clr = snes_cgram[colour]; |