Previous 15994 Revisions Next

r968 Saturday 15th September, 2007 at 01:06:31 UTC by Nathan Woods
[APPLE2] Changed a few declarations to be const
[src/mess/drivers]apple2.c

src/mess/drivers/apple2.c
r967r968
528528   0xFF, 0xFF, 0xFF   /* White */
529529};
530530
531static gfx_layout apple2_text_layout =
531static const gfx_layout apple2_text_layout =
532532{
533533   14,8,      /* 14*8 characters */
534534   256,      /* 256 characters */
r967r968
539539   8*8         /* every char takes 8 bytes */
540540};
541541
542static gfx_layout apple2_dbltext_layout =
542static const gfx_layout apple2_dbltext_layout =
543543{
544544   7,8,      /* 7*8 characters */
545545   256,      /* 256 characters */
r967r968
550550   8*8         /* every char takes 8 bytes */
551551};
552552
553static gfx_decode apple2_gfxdecodeinfo[] =
553static const gfx_decode apple2_gfxdecodeinfo[] =
554554{
555555   { REGION_GFX1, 0x0000, &apple2_text_layout, 0, 2 },
556556   { REGION_GFX1, 0x0000, &apple2_dbltext_layout, 0, 2 },
557557   { -1 } /* end of array */
558558};
559559
560static gfx_layout apple2e_text_layout =
560static const gfx_layout apple2e_text_layout =
561561{
562562   14,8,      /* 14*8 characters */
563563   1024,      /* 256 characters */
r967r968
568568   8*8         /* every char takes 8 bytes */
569569};
570570
571static gfx_layout apple2e_dbltext_layout =
571static const gfx_layout apple2e_dbltext_layout =
572572{
573573   7,8,      /* 7*8 characters */
574574   1024,      /* 256 characters */
r967r968
579579   8*8         /* every char takes 8 bytes */
580580};
581581
582static gfx_decode apple2e_gfxdecodeinfo[] =
582static const gfx_decode apple2e_gfxdecodeinfo[] =
583583{
584584   { REGION_GFX1, 0x0000, &apple2e_text_layout, 0, 2 },
585585   { REGION_GFX1, 0x0000, &apple2e_dbltext_layout, 0, 2 },

Previous 15994 Revisions Next


© 1998-2018 The MESS Team