mirror of
https://github.com/holub/mame
synced 2025-04-27 10:43:07 +03:00
switch red/green as on flyer
This commit is contained in:
parent
f0917e9f0a
commit
10c526ff04
@ -24,9 +24,6 @@
|
||||
- game speed, its seems to be controlled by the IRQ's, how fast should it
|
||||
be? firing seems frustratingly inconsistant
|
||||
|
||||
- colors match Tim's screen shots, but there's no guarantee RGB are in the
|
||||
correct order.
|
||||
|
||||
****************************************************************************
|
||||
|
||||
Battle Cross (c)1982 Omori
|
||||
|
@ -16,9 +16,9 @@ PALETTE_INIT( battlex )
|
||||
for (i = 0; i < 16; i++)
|
||||
{
|
||||
int data = i | col;
|
||||
int g = pal1bit(data >> 0);
|
||||
int r = pal1bit(data >> 0);
|
||||
int b = pal1bit(data >> 1);
|
||||
int r = pal1bit(data >> 2);
|
||||
int g = pal1bit(data >> 2);
|
||||
|
||||
#if 0
|
||||
/* from Tim's shots, bit 3 seems to have no effect (see e.g. Laser Ship on title screen) */
|
||||
@ -37,7 +37,7 @@ PALETTE_INIT( battlex )
|
||||
|
||||
WRITE8_HANDLER( battlex_palette_w )
|
||||
{
|
||||
palette_set_color_rgb(space->machine, 16 * 8 + offset, pal1bit(data >> 2), pal1bit(data >> 0), pal1bit(data >> 1));
|
||||
palette_set_color_rgb(space->machine, 16 * 8 + offset, pal1bit(data >> 0), pal1bit(data >> 2), pal1bit(data >> 1));
|
||||
}
|
||||
|
||||
WRITE8_HANDLER( battlex_scroll_x_lsb_w )
|
||||
|
Loading…
Reference in New Issue
Block a user