mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
MT#03805 (nw)
This commit is contained in:
parent
0a2dbaa1fc
commit
d80373e204
@ -92,9 +92,10 @@ PALETTE_INIT_MEMBER(lasso_state,wwjgtin)
|
||||
for (i = 0x40; i < 0x140; i++)
|
||||
{
|
||||
uint8_t ctabentry;
|
||||
|
||||
if ((i - 0x40) & 0x03)
|
||||
ctabentry = ((((i - 0x40) & 0xf0) >> 2) + ((i - 0x40) & 0x0f)) & 0x3f;
|
||||
int raw_pen = i - 0x40;
|
||||
|
||||
if (raw_pen & 0x03)
|
||||
ctabentry = (((raw_pen & 0xf0) >> 2) + (raw_pen & 0x03)) & 0x3f;
|
||||
else
|
||||
ctabentry = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user