diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-06-27 12:17:18 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-06-27 12:17:18 -0700 |
commit | 41427a5cbad6eae33ec644d38227fc7301d7a8c6 (patch) | |
tree | ef4faaa1184dc182967110397a05bd06d0b3ed9b /z80_to_x86.c | |
parent | 0ce892b31ad6767fc1658d47418b9f7d14faab05 (diff) |
Cleanup some warnings under clang through a combination of code fixes and supressing specific warnings
Diffstat (limited to 'z80_to_x86.c')
-rw-r--r-- | z80_to_x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/z80_to_x86.c b/z80_to_x86.c index 1474da9..23b19b8 100644 --- a/z80_to_x86.c +++ b/z80_to_x86.c @@ -1951,7 +1951,7 @@ void translate_z80inst(z80inst * inst, z80_context * context, uint16_t address, uint8_t * z80_interp_handler(uint8_t opcode, z80_context * context) { if (!context->interp_code[opcode]) { - if (opcode == 0xCB || (opcode >= 0xDD && opcode & 0xF == 0xD)) { + if (opcode == 0xCB || (opcode >= 0xDD && (opcode & 0xF) == 0xD)) { fprintf(stderr, "Encountered prefix byte %X at address %X. Z80 interpeter doesn't support those yet.", opcode, context->pc); exit(1); } |