summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/amiga.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/amiga.c')
-rw-r--r--src/mame/machine/amiga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/amiga.c b/src/mame/machine/amiga.c
index 2bdd46ca2c0..0be6e7d78cf 100644
--- a/src/mame/machine/amiga.c
+++ b/src/mame/machine/amiga.c
@@ -79,7 +79,7 @@ static autoconfig_device *cur_autoconfig;
static emu_timer * amiga_irq_timer;
static emu_timer * amiga_blitter_timer;
-const char *amiga_custom_names[0x100] =
+const char *const amiga_custom_names[0x100] =
{
/* 0x000 */
"BLTDDAT", "DMACONR", "VPOSR", "VHPOSR",
@@ -925,7 +925,7 @@ static TIMER_CALLBACK( amiga_blitter_proc )
/* logging */
if (LOG_BLITS)
{
- static const char *type[] = { "ASCENDING", "LINE", "DESCENDING", "LINE" };
+ static const char *const type[] = { "ASCENDING", "LINE", "DESCENDING", "LINE" };
logerror("BLIT %s: %dx%d %04x %04x\n", type[CUSTOM_REG(REG_BLTCON1) & 0x0003], CUSTOM_REG(REG_BLTSIZH), CUSTOM_REG(REG_BLTSIZV), CUSTOM_REG(REG_BLTCON0), CUSTOM_REG(REG_BLTCON1));
if (CUSTOM_REG(REG_BLTCON0) & 0x0800)
logerror(" A: addr=%06X mod=%3d shift=%2d maskl=%04x maskr=%04x\n", CUSTOM_REG_LONG(REG_BLTAPTH), CUSTOM_REG_SIGNED(REG_BLTAMOD), CUSTOM_REG(REG_BLTCON0) >> 12, CUSTOM_REG(REG_BLTAFWM), CUSTOM_REG(REG_BLTALWM));