summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/kinst.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-09-11 15:14:39 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-09-11 15:14:39 +0000
commitb10a182054d9b10b8d88fc007819a9b6b8218a9b (patch)
tree893e4a736b8aa64826dbe43de10533dde1433927 /src/mame/drivers/kinst.c
parent746ab44148c5013bfe6142e9f3e267b3411e16ad (diff)
From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Even more reset/multisession cleanup Hi mamedev, These two patches try to reduce the amount of variable in .data, which usually point to multisession/reset bugs or missing const qualifiers. The first patch just adds const to a number of items, moving them from .data to .rdata. The second patch sets other items to zero (moving them to .bss), adding reset/init code where appropriate. ~aa
Diffstat (limited to 'src/mame/drivers/kinst.c')
-rw-r--r--src/mame/drivers/kinst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/kinst.c b/src/mame/drivers/kinst.c
index 36c52c7a07e..4c56acd6a47 100644
--- a/src/mame/drivers/kinst.c
+++ b/src/mame/drivers/kinst.c
@@ -326,7 +326,7 @@ static WRITE32_DEVICE_HANDLER( kinst_ide_extra_w )
static READ32_HANDLER( kinst_control_r )
{
UINT32 result;
- static const char *portnames[] = { "P1", "P2", "VOLUME", "UNUSED", "DSW" };
+ static const char *const portnames[] = { "P1", "P2", "VOLUME", "UNUSED", "DSW" };
/* apply shuffling */
offset = control_map[offset / 2];