diff options
author | Twinaphex | 2017-01-29 06:00:06 +0100 |
---|---|---|
committer | GitHub | 2017-01-29 06:00:06 +0100 |
commit | b9ad67f2d3f5bc1f7ebaad2eeb225d669aa7f58b (patch) | |
tree | adce7b06d1acc25f52c6e10616451bba02f9f7a5 /source/spc700.c | |
parent | 813fc89d37d1d8c8d2fa090a28f74aa0fdcea5df (diff) | |
parent | 0e59b999fa976de2d00490f552a1ff0a27d40f63 (diff) | |
download | snes9x2005-b9ad67f2d3f5bc1f7ebaad2eeb225d669aa7f58b.tar.gz snes9x2005-b9ad67f2d3f5bc1f7ebaad2eeb225d669aa7f58b.tar.bz2 snes9x2005-b9ad67f2d3f5bc1f7ebaad2eeb225d669aa7f58b.zip |
Merge pull request #30 from jamsilva/master
Converted most types to stdint-style (fixing a few in the process).
Diffstat (limited to 'source/spc700.c')
-rw-r--r-- | source/spc700.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/spc700.c b/source/spc700.c index 5e50cf3..7b1a8b7 100644 --- a/source/spc700.c +++ b/source/spc700.c @@ -158,11 +158,11 @@ APUSetZN8 ((uint8_t) Int16); #define Relative()\ Int8 = OP1;\ - Int16 = (intptr_t) (IAPU.PC + 2 - IAPU.RAM) + Int8; + Int16 = (int16_t) (IAPU.PC + 2 - IAPU.RAM) + Int8; #define Relative2()\ Int8 = OP2;\ - Int16 = (intptr_t) (IAPU.PC + 3 - IAPU.RAM) + Int8; + Int16 = (int16_t) (IAPU.PC + 3 - IAPU.RAM) + Int8; #ifdef FAST_LSB_WORD_ACCESS #define IndexedXIndirect()\ |