aboutsummaryrefslogtreecommitdiff
path: root/source/65c816.h
diff options
context:
space:
mode:
authoraliaspider2014-11-03 15:26:54 +0100
committeraliaspider2014-11-03 15:26:54 +0100
commit4a54fd4018adf931fb436acba2399efc6d6d1176 (patch)
treeefba5c3c8e1057bce6a7fff834f2dcda36707e5a /source/65c816.h
parentc599f551ea0862b397b2e8b1ca4b441b4ab8c8f1 (diff)
downloadsnes9x2005-4a54fd4018adf931fb436acba2399efc6d6d1176.tar.gz
snes9x2005-4a54fd4018adf931fb436acba2399efc6d6d1176.tar.bz2
snes9x2005-4a54fd4018adf931fb436acba2399efc6d6d1176.zip
use stdint/stdbool
Diffstat (limited to 'source/65c816.h')
-rw-r--r--source/65c816.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/65c816.h b/source/65c816.h
index 851939d..505d185 100644
--- a/source/65c816.h
+++ b/source/65c816.h
@@ -149,28 +149,28 @@ typedef union
#ifdef LSB_FIRST
struct
{
- uint8 l, h;
+ uint8_t l, h;
} B;
#else
struct
{
- uint8 h, l;
+ uint8_t h, l;
} B;
#endif
- uint16 W;
+ uint16_t W;
} pair;
typedef struct
{
- uint8 PB;
- uint8 DB;
+ uint8_t PB;
+ uint8_t DB;
pair P;
pair A;
pair D;
pair S;
pair X;
pair Y;
- uint16 PC;
+ uint16_t PC;
} SRegisters;
#endif