summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/spaceg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/spaceg.c')
-rw-r--r--src/mame/drivers/spaceg.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/mame/drivers/spaceg.c b/src/mame/drivers/spaceg.c
index c36e627abf5..55e2cad191e 100644
--- a/src/mame/drivers/spaceg.c
+++ b/src/mame/drivers/spaceg.c
@@ -206,26 +206,26 @@ void spaceg_state::palette_init()
int i;
for (i = 0; i < 128; i++)
- palette_set_color (machine(), i, MAKE_RGB(0x00,0x00,0x00));
+ palette_set_color (machine(), i, rgb_t(0x00,0x00,0x00));
// proms are currently undumped...
- palette_set_color (machine(), 0, MAKE_RGB(0x00,0x00,0x00)); //ok czarny
- palette_set_color (machine(), 1, MAKE_RGB(0x7f,0x00,0x00));//???
- palette_set_color (machine(), 2, MAKE_RGB(0xff,0xff,0xff)); //ok+ bialy
- palette_set_color (machine(), 3, MAKE_RGB(0xff,0x00,0x00)); //ok j.czerw.
- palette_set_color (machine(), 4, MAKE_RGB(0x3f,0x3f,0xff)); //ok j.niebieski
- palette_set_color (machine(), 5, MAKE_RGB(0x3f,0xff,0x3f)); //ok j.zielony
- palette_set_color (machine(), 6, MAKE_RGB(0xff,0xbf,0xbf)); //ok+ 'majtki'
- palette_set_color (machine(), 7, MAKE_RGB(0xff,0xff,0x00)); //ok+ zolty
-
- palette_set_color (machine(), 8, MAKE_RGB(0xff,0x7f,0x00)); //ok+ pomaranczowy
- palette_set_color (machine(), 9, MAKE_RGB(0x3f,0xbf,0xff)); //ok j.niebieski (ciemniejszy od 13)
- palette_set_color (machine(), 10, MAKE_RGB(0x3f,0xbf,0x3f)); //ok+ c.zielony
- palette_set_color (machine(), 11, MAKE_RGB(0x00,0xff,0x00)); //ok j.zielony
- palette_set_color (machine(), 12, MAKE_RGB(0x7f,0x00,0x00)); //ok brazowy (c.czerw)
- palette_set_color (machine(), 13, MAKE_RGB(0x7f,0xbf,0xff)); //ok j.niebieski (jasniejszy od 9)
- palette_set_color (machine(), 14, MAKE_RGB(0x00,0xff,0xff));//???
- palette_set_color (machine(), 15, MAKE_RGB(0x7f,0x7f,0x7f));//???
+ palette_set_color (machine(), 0, rgb_t(0x00,0x00,0x00)); //ok czarny
+ palette_set_color (machine(), 1, rgb_t(0x7f,0x00,0x00));//???
+ palette_set_color (machine(), 2, rgb_t(0xff,0xff,0xff)); //ok+ bialy
+ palette_set_color (machine(), 3, rgb_t(0xff,0x00,0x00)); //ok j.czerw.
+ palette_set_color (machine(), 4, rgb_t(0x3f,0x3f,0xff)); //ok j.niebieski
+ palette_set_color (machine(), 5, rgb_t(0x3f,0xff,0x3f)); //ok j.zielony
+ palette_set_color (machine(), 6, rgb_t(0xff,0xbf,0xbf)); //ok+ 'majtki'
+ palette_set_color (machine(), 7, rgb_t(0xff,0xff,0x00)); //ok+ zolty
+
+ palette_set_color (machine(), 8, rgb_t(0xff,0x7f,0x00)); //ok+ pomaranczowy
+ palette_set_color (machine(), 9, rgb_t(0x3f,0xbf,0xff)); //ok j.niebieski (ciemniejszy od 13)
+ palette_set_color (machine(), 10, rgb_t(0x3f,0xbf,0x3f)); //ok+ c.zielony
+ palette_set_color (machine(), 11, rgb_t(0x00,0xff,0x00)); //ok j.zielony
+ palette_set_color (machine(), 12, rgb_t(0x7f,0x00,0x00)); //ok brazowy (c.czerw)
+ palette_set_color (machine(), 13, rgb_t(0x7f,0xbf,0xff)); //ok j.niebieski (jasniejszy od 9)
+ palette_set_color (machine(), 14, rgb_t(0x00,0xff,0xff));//???
+ palette_set_color (machine(), 15, rgb_t(0x7f,0x7f,0x7f));//???
}
WRITE8_MEMBER(spaceg_state::zvideoram_w)