diff options
Diffstat (limited to 'src/mame/drivers/segae.c')
-rw-r--r-- | src/mame/drivers/segae.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/segae.c b/src/mame/drivers/segae.c index df2d224f6d0..f2e9feb652a 100644 --- a/src/mame/drivers/segae.c +++ b/src/mame/drivers/segae.c @@ -352,7 +352,7 @@ ADDRESS_MAP_END /* Precalculated tables for H/V counters. Note the position the counter 'jumps' is marked with with an empty comment */ -static UINT8 hc_256[] = +static const UINT8 hc_256[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, @@ -379,7 +379,7 @@ static UINT8 hc_256[] = }; -static UINT8 vc_ntsc_192[] = +static const UINT8 vc_ntsc_192[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, @@ -400,7 +400,7 @@ static UINT8 vc_ntsc_192[] = 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff, }; -static UINT8 vc_ntsc_224[] = +static const UINT8 vc_ntsc_224[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, @@ -421,7 +421,7 @@ static UINT8 vc_ntsc_224[] = 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff, }; -static UINT8 vc_ntsc_240[] = +static const UINT8 vc_ntsc_240[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, @@ -444,7 +444,7 @@ static UINT8 vc_ntsc_240[] = -static UINT8 vc_pal_192[] = +static const UINT8 vc_pal_192[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, @@ -469,7 +469,7 @@ static UINT8 vc_pal_192[] = }; -static UINT8 vc_pal_224[] = +static const UINT8 vc_pal_224[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, @@ -493,7 +493,7 @@ static UINT8 vc_pal_224[] = 0xf7, 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff, }; -static UINT8 vc_pal_240[] = +static const UINT8 vc_pal_240[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, @@ -517,14 +517,14 @@ static UINT8 vc_pal_240[] = 0xf7, 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff, }; -static struct +static const struct { UINT8 sms2_name[40]; int sms2_valid; int sms2_height; int sms2_tilemap_height; - UINT8* sms_vcounter_table; - UINT8* sms_hcounter_table; + const UINT8* sms_vcounter_table; + const UINT8* sms_hcounter_table; } sms_mode_table[] = { |