diff options
Diffstat (limited to 'src/mame/machine/nmk004.c')
-rw-r--r-- | src/mame/machine/nmk004.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/nmk004.c b/src/mame/machine/nmk004.c index ca38777b8c9..160505281fa 100644 --- a/src/mame/machine/nmk004.c +++ b/src/mame/machine/nmk004.c @@ -587,7 +587,7 @@ popmessage("%02x %02x%02x%02x%02x %02x %02x%02x%02x%02x %02x %02x%02x%02x%02x", static void fm_voices_update(void) { - static int ym2203_registers[0x18] = + static const int ym2203_registers[0x18] = { 0x30,0x38,0x34,0x3C,0x40,0x48,0x44,0x4C,0x50,0x58,0x54,0x5C,0x60,0x68,0x64,0x6C, 0x70,0x78,0x74,0x7C,0x80,0x88,0x84,0x8C @@ -896,11 +896,11 @@ static void psg_update(int channel) static void get_command(void) { - static UINT8 from_main[] = + static const UINT8 from_main[] = { 0x00,0x22,0x62,0x8c,0xc7,0x00,0x00,0x3f,0x7f,0x89,0xc7,0x00,0x00,0x2b,0x6b }; - static UINT8 to_main[] = + static const UINT8 to_main[] = { 0x82,0xc7,0x00,0x2c,0x6c,0x00,0x9f,0xc7,0x00,0x29,0x69,0x00,0x8b,0xc7,0x00 }; @@ -1019,7 +1019,7 @@ void NMK004_irq(int irq) static TIMER_CALLBACK( real_nmk004_init ) { - static UINT8 ym2203_init[] = + static const UINT8 ym2203_init[] = { 0x07,0x38,0x08,0x00,0x09,0x00,0x0A,0x00,0x24,0xB3,0x25,0x00,0x26,0xF9,0x27,0x15, 0x28,0x00,0x28,0x01,0x28,0x02,0x40,0x00,0x41,0x00,0x42,0x00,0x44,0x00,0x45,0x00, |