diff options
author | Bryan McPhail <bryanmcp@mamedev.org> | 2008-01-15 22:11:33 +0000 |
---|---|---|
committer | Bryan McPhail <bryanmcp@mamedev.org> | 2008-01-15 22:11:33 +0000 |
commit | 2dcaef718618475e86b116f2ec7deef6bec16b3c (patch) | |
tree | a2d78cbefef6976fd8823ca206ac83051afacd17 | |
parent | 5cce8356e8a35e488297695b51d3c039de70f60a (diff) |
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"
-rw-r--r-- | src/mame/video/bionicc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/video/bionicc.c b/src/mame/video/bionicc.c index fc759b953ef..6833fbf3949 100644 --- a/src/mame/video/bionicc.c +++ b/src/mame/video/bionicc.c @@ -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 ) |