diff options
author | aliaspider | 2014-11-03 15:26:54 +0100 |
---|---|---|
committer | aliaspider | 2014-11-03 15:26:54 +0100 |
commit | 4a54fd4018adf931fb436acba2399efc6d6d1176 (patch) | |
tree | efba5c3c8e1057bce6a7fff834f2dcda36707e5a /source/spc700.h | |
parent | c599f551ea0862b397b2e8b1ca4b441b4ab8c8f1 (diff) | |
download | snes9x2005-4a54fd4018adf931fb436acba2399efc6d6d1176.tar.gz snes9x2005-4a54fd4018adf931fb436acba2399efc6d6d1176.tar.bz2 snes9x2005-4a54fd4018adf931fb436acba2399efc6d6d1176.zip |
use stdint/stdbool
Diffstat (limited to 'source/spc700.h')
-rw-r--r-- | source/spc700.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/spc700.h b/source/spc700.h index d7da8cd..9ddb72f 100644 --- a/source/spc700.h +++ b/source/spc700.h @@ -138,24 +138,24 @@ typedef union #ifdef LSB_FIRST struct { - uint8 A, Y; + uint8_t A, Y; } B; #else struct { - uint8 Y, A; + uint8_t Y, A; } B; #endif - uint16 W; + uint16_t W; } YAndA; typedef struct { - uint8 P; + uint8_t P; YAndA YA; - uint8 X; - uint8 S; - uint16 PC; + uint8_t X; + uint8_t S; + uint16_t PC; } SAPURegisters; // Needed by ILLUSION OF GAIA @@ -169,11 +169,11 @@ typedef struct // 1.953us := 1.024065.54MHz #ifdef SPCTOOL -int32 ESPC(int32); +int32_t ESPC(int32_t); #define APU_EXECUTE() \ { \ - int32 l = (CPU.Cycles - APU.Cycles) / 14; \ + int32_t l = (CPU.Cycles - APU.Cycles) / 14; \ if (l > 0) \ { \ l -= _EmuSPC(l); \ |