mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +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++)
|
for (i = 0x40; i < 0x140; i++)
|
||||||
{
|
{
|
||||||
uint8_t ctabentry;
|
uint8_t ctabentry;
|
||||||
|
int raw_pen = i - 0x40;
|
||||||
|
|
||||||
if ((i - 0x40) & 0x03)
|
if (raw_pen & 0x03)
|
||||||
ctabentry = ((((i - 0x40) & 0xf0) >> 2) + ((i - 0x40) & 0x0f)) & 0x3f;
|
ctabentry = (((raw_pen & 0xf0) >> 2) + (raw_pen & 0x03)) & 0x3f;
|
||||||
else
|
else
|
||||||
ctabentry = 0;
|
ctabentry = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user