summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/mcs51/mcs51dasm.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-01-14 05:32:21 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-01-14 05:32:21 +0000
commit200b0a0159dc73e31cf71f39173d0907f14e6625 (patch)
tree32db7ed5362cc0bce35f4a3588270b79f051265b /src/emu/cpu/mcs51/mcs51dasm.c
parent406980156dce9f32790e311abf92043c4b91a5ee (diff)
From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, January 03, 2009 10:20 AM To: submit@mamedev.org Cc: atariace@hotmail.com Subject: [patch] static/const/include fixes Hi mamedev, Here's my aperiodic code cleanup patch for MAME, adding static/const and adjusting header files. In a few places I went a bit further. 1. arm7core.[ch],segas24.[ch]: Rewrote some abuses of the HANDLER macros to use _func types instead. 2. m37710: Removed some long dead state save functions. 3. spc700: Removed the interface declarations and functions. Most of it is handled by CPU_GET_INFO, some of it was no longer implemented, and since pointerization it wasn't possible to call it externally anyhow. 4. segac2: I removed the palette variables aliasing the megadrive ones and just used the megadrive ones directly. 5. snes: All the obc1_, DSP1_, DSP2_ exports were made static. I'd avoided doing this previously for fear it might break MESS, but after auditing I'm fairly certain this shouldn't cause problems. ~aa
Diffstat (limited to 'src/emu/cpu/mcs51/mcs51dasm.c')
-rw-r--r--src/emu/cpu/mcs51/mcs51dasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/mcs51/mcs51dasm.c b/src/emu/cpu/mcs51/mcs51dasm.c
index 5ab6360e126..814e5613509 100644
--- a/src/emu/cpu/mcs51/mcs51dasm.c
+++ b/src/emu/cpu/mcs51/mcs51dasm.c
@@ -55,7 +55,7 @@ enum
//SFR Names
-static struct {
+static const struct {
int feature;
int addr;
const char *name;