mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
Added default monochrome amber and green palettes.
This commit is contained in:
parent
a17b2be7b9
commit
bfd13a93a0
@ -570,7 +570,7 @@ int flip_screen_y_get(running_machine *machine)
|
||||
***************************************************************************/
|
||||
|
||||
/*-------------------------------------------------
|
||||
black - completely black pelette
|
||||
black - completely black palette
|
||||
-------------------------------------------------*/
|
||||
|
||||
PALETTE_INIT( all_black )
|
||||
@ -595,6 +595,28 @@ PALETTE_INIT( black_and_white )
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------
|
||||
monochrome_amber - 2-color black & amber
|
||||
-------------------------------------------------*/
|
||||
|
||||
PALETTE_INIT( monochrome_amber )
|
||||
{
|
||||
palette_set_color(machine, 0, RGB_BLACK); /* black */
|
||||
palette_set_color_rgb(machine, 1, 0xf7, 0xaa, 0x00); /* amber */
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------
|
||||
monochrome_green - 2-color black & green
|
||||
-------------------------------------------------*/
|
||||
|
||||
PALETTE_INIT( monochrome_green )
|
||||
{
|
||||
palette_set_color(machine, 0, RGB_BLACK); /* black */
|
||||
palette_set_color_rgb(machine, 1, 0x00, 0xff, 0x00); /* green */
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------
|
||||
RRRR_GGGG_BBBB - standard 4-4-4 palette,
|
||||
assuming the commonly used resistor values:
|
||||
|
@ -133,6 +133,8 @@ int flip_screen_y_get(running_machine *machine);
|
||||
|
||||
PALETTE_INIT( all_black );
|
||||
PALETTE_INIT( black_and_white );
|
||||
PALETTE_INIT( monochrome_amber );
|
||||
PALETTE_INIT( monochrome_green );
|
||||
PALETTE_INIT( RRRR_GGGG_BBBB );
|
||||
PALETTE_INIT( RRRRR_GGGGG_BBBBB );
|
||||
PALETTE_INIT( BBBBB_GGGGG_RRRRR );
|
||||
|
Loading…
Reference in New Issue
Block a user