diff options
Diffstat (limited to 'src/emu/cpu/nec')
| -rw-r--r-- | src/emu/cpu/nec/necea.h | 2 | ||||
| -rw-r--r-- | src/emu/cpu/nec/necinstr.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/nec/necea.h b/src/emu/cpu/nec/necea.h index f754523805e..5a1c3b1f749 100644 --- a/src/emu/cpu/nec/necea.h +++ b/src/emu/cpu/nec/necea.h @@ -30,7 +30,7 @@ static unsigned EA_205(void) { E16=FETCH; E16+=FETCH<<8; EO=I.regs.w[IY]+(INT16) static unsigned EA_206(void) { E16=FETCH; E16+=FETCH<<8; EO=I.regs.w[BP]+(INT16)E16; EA=DefaultBase(SS)+EO; return EA; } static unsigned EA_207(void) { E16=FETCH; E16+=FETCH<<8; EO=I.regs.w[BW]+(INT16)E16; EA=DefaultBase(DS0)+EO; return EA; } -static unsigned (*GetEA[192])(void)={ +static unsigned (*const GetEA[192])(void)={ EA_000, EA_001, EA_002, EA_003, EA_004, EA_005, EA_006, EA_007, EA_000, EA_001, EA_002, EA_003, EA_004, EA_005, EA_006, EA_007, EA_000, EA_001, EA_002, EA_003, EA_004, EA_005, EA_006, EA_007, diff --git a/src/emu/cpu/nec/necinstr.h b/src/emu/cpu/nec/necinstr.h index f07fe442c0c..b4c6e51ce87 100644 --- a/src/emu/cpu/nec/necinstr.h +++ b/src/emu/cpu/nec/necinstr.h @@ -246,7 +246,7 @@ static void i_ffpre(void); static void i_wait(void); -static void (*nec_instruction[256])(void) = +static void (*const nec_instruction[256])(void) = { i_add_br8, /* 0x00 */ i_add_wr16, /* 0x01 */ |
