diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-08-26 23:09:04 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-08-26 23:09:04 +0000 |
commit | 9a6bfb8f8aab0e4811c7171475f2b763048df431 (patch) | |
tree | b54585dfd5e004ac1eb539ea1d30d4561bdc904d /z80_private.h | |
parent | 665e1cabd8acee86ea3865e0a38467dec52e6f66 (diff) |
Checkin prior to replacing some of the opcode routines.
Diffstat (limited to 'z80_private.h')
-rw-r--r-- | z80_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/z80_private.h b/z80_private.h index 26adbbb..45e63bd 100644 --- a/z80_private.h +++ b/z80_private.h @@ -135,8 +135,8 @@ struct Z80 #define B5_Z80 0x20 -#define SET(v,b) v|=b -#define CLR(v,b) v&=~(b) +#define SET(v,b) (v)|=b +#define CLR(v,b) (v)&=~(b) #define SETFLAG(f) SET(cpu->AF.b[LO],f) #define CLRFLAG(f) CLR(cpu->AF.b[LO],f) |