diff options
Diffstat (limited to 'src/mame/machine/mexico86.c')
-rw-r--r-- | src/mame/machine/mexico86.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/mexico86.c b/src/mame/machine/mexico86.c index bb5dd1fbfff..2f3263b1c2f 100644 --- a/src/mame/machine/mexico86.c +++ b/src/mame/machine/mexico86.c @@ -107,7 +107,7 @@ logerror("initialising MCU\n"); if (mexico86_protection_ram[0xe0] > 0 && mexico86_protection_ram[0xe0] < 4) { - static UINT8 answers[3][16] = + static const UINT8 answers[3][16] = { { 0x00,0x40,0x48,0x50,0x58,0x60,0x68,0x70,0x78,0x80,0x88,0x00,0x00,0x00,0x00,0x00 }, { 0x00,0x04,0x08,0x0C,0x10,0x14,0x18,0x1C,0x20,0x31,0x2B,0x35,0x00,0x00,0x00,0x00 }, @@ -130,7 +130,7 @@ logerror("initialising MCU\n"); // The following is missing from Knight Boy // this should be equivalent to the obfuscated kiki_clogic() below { - static int db[16]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x10,0x18,0x00,0x00,0x00,0x00}; + static const int db[16]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x10,0x18,0x00,0x00,0x00,0x00}; int sy = mexico86_protection_ram[0xa0] + ((0x18)>>1); int sx = mexico86_protection_ram[0xa1] + ((0x18)>>1); @@ -175,7 +175,7 @@ INTERRUPT_GEN( kikikai_interrupt ) static void kiki_clogic(int address, int latch) { - static UINT8 db[16]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x10,0x18,0x00,0x00,0x00,0x00}; + static const UINT8 db[16]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x10,0x18,0x00,0x00,0x00,0x00}; static UINT8 queue[64]; static int qfront = 0, state = 0; int sy, sx, hw, i, qptr, diff1, diff2; |