Mercurial > repos > blastem
diff z80_to_x86.c @ 755:7306b3967c51
Cleanup some warnings under clang through a combination of code fixes and supressing specific warnings
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 27 Jun 2015 12:17:18 -0700 |
parents | 043393b79e28 |
children | 724bbec47f86 |
line wrap: on
line diff
--- a/z80_to_x86.c Sat Jun 27 11:39:55 2015 -0700 +++ b/z80_to_x86.c Sat Jun 27 12:17:18 2015 -0700 @@ -1951,7 +1951,7 @@ 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); }