mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03:00
Fix for topsecrt0109gre2 - "topsecrt: At the end of level 2 the background gets darker and darker until it becomes black in mame. On the pcb it stops when it's dark blue"
This commit is contained in:
parent
5cce8356e8
commit
2dcaef7186
@ -131,8 +131,11 @@ WRITE16_HANDLER( bionicc_txvideoram_w )
|
||||
|
||||
WRITE16_HANDLER( bionicc_paletteram_w )
|
||||
{
|
||||
/* The bottom bits are 'intensity' here, but level 2 of Top Secret shows that even
|
||||
when intensity is zero the colour is not reduced to pure black, (the sky should stay
|
||||
at dark blue rather than absolute black) */
|
||||
data = COMBINE_DATA(&paletteram16[offset]);
|
||||
paletteram16_RRRRGGGGBBBBIIII_word_w(offset,(data & 0xfff0) | ((data & 0x0007) << 1),0);
|
||||
paletteram16_RRRRGGGGBBBBIIII_word_w(offset,(data & 0xfff0) | ((data & 0x0007) << 1) | 1, 0);
|
||||
}
|
||||
|
||||
WRITE16_HANDLER( bionicc_scroll_w )
|
||||
|
Loading…
Reference in New Issue
Block a user