diff options
author | 2009-12-28 09:04:00 +0000 | |
---|---|---|
committer | 2009-12-28 09:04:00 +0000 | |
commit | bd24fb23c10ca9fbf63e2191dc8e58a87b83b325 (patch) | |
tree | 5ba5c3cffeb38fb8f492e030130268c4bcbafb4d /src/emu/cpu/nec/necmodrm.h | |
parent | 6763b10bf005f0bcd1ba23e440d652b31dcac447 (diff) |
Results of running the latest srcclean.
Diffstat (limited to 'src/emu/cpu/nec/necmodrm.h')
-rw-r--r-- | src/emu/cpu/nec/necmodrm.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/cpu/nec/necmodrm.h b/src/emu/cpu/nec/necmodrm.h index b2fe950587b..8673fd53a70 100644 --- a/src/emu/cpu/nec/necmodrm.h +++ b/src/emu/cpu/nec/necmodrm.h @@ -15,8 +15,8 @@ static struct { #define GetRMWord(ModRM) \ ((ModRM) >= 0xc0 ? nec_state->regs.w[Mod_RM.RM.w[ModRM]] : ( (*GetEA[ModRM])(nec_state), read_word( EA ) )) -#define PutbackRMWord(ModRM,val) \ -{ \ +#define PutbackRMWord(ModRM,val) \ +{ \ if (ModRM >= 0xc0) nec_state->regs.w[Mod_RM.RM.w[ModRM]]=val; \ else write_word(EA,val); \ } @@ -53,13 +53,13 @@ static struct { if (ModRM >= 0xc0) \ nec_state->regs.b[Mod_RM.RM.b[ModRM]]=val; \ else \ - write_byte( (*GetEA[ModRM])(nec_state) ,val); \ + write_byte( (*GetEA[ModRM])(nec_state) ,val); \ } #define PutImmRMByte(ModRM) \ { \ if (ModRM >= 0xc0) \ - nec_state->regs.b[Mod_RM.RM.b[ModRM]]=FETCH(); \ + nec_state->regs.b[Mod_RM.RM.b[ModRM]]=FETCH(); \ else { \ (*GetEA[ModRM])(nec_state); \ write_byte( EA , FETCH() ); \ @@ -99,6 +99,6 @@ static struct { UINT32 dst = nec_state->regs.b[AL] #define DEF_axd16 \ - UINT32 src = FETCH(); \ + UINT32 src = FETCH(); \ UINT32 dst = nec_state->regs.w[AW]; \ src += (FETCH() << 8) |