summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/z80gb/z80gb.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2007-12-17 16:39:40 +0000
committer Aaron Giles <aaron@aarongiles.com>2007-12-17 16:39:40 +0000
commitdf34329a478833efbd542a424ce1813a11214d4a (patch)
tree97960620a0153b267478c8f9ae93e55582ecaefa /src/emu/cpu/z80gb/z80gb.c
parentc82a966b3b72d79ac3ce394980d6b5806e752160 (diff)
Changes for MAME 0.121u3.mame0121u3
Diffstat (limited to 'src/emu/cpu/z80gb/z80gb.c')
-rw-r--r--src/emu/cpu/z80gb/z80gb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/z80gb/z80gb.c b/src/emu/cpu/z80gb/z80gb.c
index 61dca398cd4..09c50c423c5 100644
--- a/src/emu/cpu/z80gb/z80gb.c
+++ b/src/emu/cpu/z80gb/z80gb.c
@@ -131,7 +131,7 @@ INLINE void mem_WriteWord (UINT32 address, UINT16 value)
/* Nr of cycles to run */
static int z80gb_ICount;
-static int Cycles[256] =
+static const int Cycles[256] =
{
4,12, 8, 8, 4, 4, 8, 4,20, 8, 8, 8, 4, 4, 8, 4,
4,12, 8, 8, 4, 4, 8, 4,12, 8, 8, 8, 4, 4, 8, 4,
@@ -151,7 +151,7 @@ static int Cycles[256] =
12,12, 8, 4, 4,16, 8,16,12, 8,16, 4, 4, 4, 8,16
};
-static int CyclesCB[256] =
+static const int CyclesCB[256] =
{
8, 8, 8, 8, 8, 8,16, 8, 8, 8, 8, 8, 8, 8,16, 8,
8, 8, 8, 8, 8, 8,16, 8, 8, 8, 8, 8, 8, 8,16, 8,