diff options
author | meepingsnesroms | 2017-02-12 16:02:24 -0800 |
---|---|---|
committer | GitHub | 2017-02-12 16:02:24 -0800 |
commit | d9b7722019987cb3331ab3ec3fcf364c82145177 (patch) | |
tree | 34346e131ec88be8715ceb44b1c984de44d6f8e9 /source/fxemu.h | |
parent | 474a67ccdccb89d369c706347085ca4619f0cbef (diff) | |
parent | c3fadd966ae2a65a683d6cc0b07a26c2980f6bbd (diff) | |
download | snesemu-d9b7722019987cb3331ab3ec3fcf364c82145177.tar.gz snesemu-d9b7722019987cb3331ab3ec3fcf364c82145177.tar.bz2 snesemu-d9b7722019987cb3331ab3ec3fcf364c82145177.zip |
Merge pull request #32 from jamsilva/master
Fixed stupid mistake that broke some games. Other minor changes.
Diffstat (limited to 'source/fxemu.h')
-rw-r--r-- | source/fxemu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fxemu.h b/source/fxemu.h index 2176976..0012c33 100644 --- a/source/fxemu.h +++ b/source/fxemu.h @@ -50,11 +50,11 @@ extern void fx_updateRamBank(uint8_t Byte); #define FX_FLAG_ROM_BUFFER 0x02 /* Return codes from FxEmulate(), FxStepInto() or FxStepOver() */ -#define FX_BREAKPOINT -1 +#define FX_BREAKPOINT -1 #define FX_ERROR_ILLEGAL_ADDRESS -2 /* Return the number of bytes in an opcode */ -#define OPCODE_BYTES(op) ((((op)>=0x05&&(op)<=0xf)||((op)>=0xa0&&(op)<=0xaf))?2:(((op)>=0xf0)?3:1)) +#define OPCODE_BYTES(op) ((((op) >= 0x05 && (op) <= 0xf) || ((op) >= 0xa0 && (op) <= 0xaf)) ? 2 : (((op) >= 0xf0) ? 3 : 1)) extern void fx_computeScreenPointers(); |