diff options
Diffstat (limited to 'src/emu/cpu/z80gb/z80gbd.c')
-rw-r--r-- | src/emu/cpu/z80gb/z80gbd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/z80gb/z80gbd.c b/src/emu/cpu/z80gb/z80gbd.c index 0989ed1e171..67592660b06 100644 --- a/src/emu/cpu/z80gb/z80gbd.c +++ b/src/emu/cpu/z80gb/z80gbd.c @@ -33,7 +33,7 @@ enum e_mnemonics zSTOP, zSUB, zXOR, zSWAP }; -static const char *s_mnemonic[] = +static const char *const s_mnemonic[] = { "adc", "add", "and", "bit", "call","ccf", "cp", "cpl", "daa", "db", "dec", "di", "ei", "halt", @@ -63,7 +63,7 @@ typedef struct const char *arguments; } z80gbdasm; -static z80gbdasm mnemonic_cb[256] = { +static const z80gbdasm mnemonic_cb[256] = { {zRLC,"b"}, {zRLC,"c"}, {zRLC,"d"}, {zRLC,"e"}, {zRLC,"h"}, {zRLC,"l"}, {zRLC,"(hl)"}, {zRLC,"a"}, {zRRC,"b"}, {zRRC,"c"}, {zRRC,"d"}, {zRRC,"e"}, @@ -130,7 +130,7 @@ static z80gbdasm mnemonic_cb[256] = { {zSET,"7,h"}, {zSET,"7,l"}, {zSET,"7,(hl)"},{zSET,"7,a"} }; -static z80gbdasm mnemonic_main[256]= { +static const z80gbdasm mnemonic_main[256]= { {zNOP,0}, {zLD,"bc,N"}, {zLD,"(bc),a"}, {zINC,"bc"}, {zINC,"b"}, {zDEC,"b"}, {zLD,"b,B"}, {zRLCA,0}, {zLD,"(W),sp"}, {zADD,"hl,bc"}, {zLD,"a,(bc)"}, {zDEC,"bc"}, @@ -203,7 +203,7 @@ static z80gbdasm mnemonic_main[256]= { unsigned z80gb_dasm( char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram ) { - z80gbdasm *d; + const z80gbdasm *d; const char *symbol, *src; char *dst; INT8 offset = 0; |