src/mame/video/snes.c
| r7513 | r7514 | |
| 158 | 158 | |
| 159 | 159 | if (snes_ppu.sub_add_mode) /* SNES_SUBSCREEN*/ |
| 160 | 160 | { |
| 161 | | if (!BIT(snes_ppu.color_modes, 7) |
| 161 | if (!BIT(snes_ppu.color_modes, 7)) |
| 162 | 162 | { |
| 163 | 163 | /* 0x00 add */ |
| 164 | 164 | r = (*colour & 0x1f) + (scanlines[SNES_SUBSCREEN].buffer[offset] & 0x1f); |
| r7513 | r7514 | |
| 186 | 186 | } |
| 187 | 187 | else /* Fixed colour */ |
| 188 | 188 | { |
| 189 | | if (!BIT(snes_ppu.color_modes, 7) |
| 189 | if (!BIT(snes_ppu.color_modes, 7)) |
| 190 | 190 | { |
| 191 | 191 | /* 0x00 add */ |
| 192 | 192 | r = (*colour & 0x1f) + (snes_cgram[FIXED_COLOUR] & 0x1f); |