diff options
Diffstat (limited to 'src/mame/drivers/shangha3.c')
-rw-r--r-- | src/mame/drivers/shangha3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/shangha3.c b/src/mame/drivers/shangha3.c index 7ff8fabff60..72b5d2563a7 100644 --- a/src/mame/drivers/shangha3.c +++ b/src/mame/drivers/shangha3.c @@ -53,7 +53,7 @@ write read static READ16_HANDLER( shangha3_prot_r ) { static int count; - static int result[] = { 0x0,0x1,0x3,0x7,0xf,0xe,0xc,0x8,0x0}; + static const int result[] = { 0x0,0x1,0x3,0x7,0xf,0xe,0xc,0x8,0x0}; logerror("PC %04x: read 20004e\n",activecpu_get_pc()); @@ -476,7 +476,7 @@ GFXDECODE_END -static struct AY8910interface ay8910_interface = +static const struct AY8910interface ay8910_interface = { input_port_3_r, input_port_2_r @@ -487,7 +487,7 @@ static void irqhandler(int linestate) cpunum_set_input_line(1, INPUT_LINE_NMI, linestate); } -static struct YM3438interface ym3438_interface = +static const struct YM3438interface ym3438_interface = { irqhandler }; |