summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Angelo Salese <salese_corp_ltd@email.it>2015-01-20 01:43:49 +0100
committer Angelo Salese <salese_corp_ltd@email.it>2015-01-20 01:43:49 +0100
commitd02f770764b684ac72adf31e7be4f339866cfc50 (patch)
tree295c63e5455f5ba0fddfbcbecd8801e428747b70
parentfe5d27db70205d13a0ca32448a0d5c177f202b20 (diff)
Looks more likely, and at least pieces all have different colors now.
-rw-r--r--src/mame/drivers/aleck64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/aleck64.c b/src/mame/drivers/aleck64.c
index d8102f7a3ec..44866e0c192 100644
--- a/src/mame/drivers/aleck64.c
+++ b/src/mame/drivers/aleck64.c
@@ -890,9 +890,10 @@ UINT32 aleck64_state::screen_update_e90(screen_device &screen, bitmap_rgb32 &bit
int pal_offs;
int pal_shift;
//UINT16 tile = m_e90_vram[offs] >> 16;
- UINT16 pal = m_e90_vram[offs] & 0x3f; // guess: 0x1000 entries / word / 4bpp = 0x7f, bit 6 seems to have some special meaning tho ...
+ UINT16 pal = m_e90_vram[offs] & 0xff; // guess: 0x1000 entries / word / 4bpp = 0x7f, divided by two below (TODO: why?)
INT16 x = m_e90_vram[offs+1] >> 16;
INT16 y = m_e90_vram[offs+1] & 0xffff;
+ pal>>=1;
x>>=1;
pal_offs = (pal*0x20);
pal_offs+= 1; // edit this to get the other colors in the range