diff options
author | twinaphex | 2016-08-05 22:11:07 +0200 |
---|---|---|
committer | twinaphex | 2016-08-05 22:11:07 +0200 |
commit | c932b02d2ed32f2e99d88af4428a5daf7550881e (patch) | |
tree | 70991d4ab1655595043c30404452777db1e0c58e /src | |
parent | 327e4fc9e9fd42a539f1b1ecdfb5c6df5b43e250 (diff) | |
download | snes9x2002-c932b02d2ed32f2e99d88af4428a5daf7550881e.tar.gz snes9x2002-c932b02d2ed32f2e99d88af4428a5daf7550881e.tar.bz2 snes9x2002-c932b02d2ed32f2e99d88af4428a5daf7550881e.zip |
Start using stdint types
Diffstat (limited to 'src')
-rw-r--r-- | src/port.h | 27 |
1 files changed, 10 insertions, 17 deletions
@@ -60,27 +60,20 @@ I can't take it anymore, it's too convoluted. So I've commented out the entire //Required Includes #include "pixform.h" -//#include <windows.h> +#include <stdint.h> #include <limits.h> #include <string.h> #include <stdbool.h> //Types Defined -typedef unsigned char bool8; -typedef unsigned char uint8; -typedef unsigned short uint16; -typedef unsigned int bool32; -typedef unsigned int uint32; -typedef signed char int8; -typedef short int16; -typedef int int32; -typedef long long int64; - -//CSNES Types for conversion to 32 bit -/*typedef unsigned long bool8_32; -typedef unsigned long uint8_32; -typedef unsigned long uint16_32; -typedef long int8_32; -typedef long int16_32;*/ +typedef uint8_t bool8; +typedef uint8_t uint8; +typedef uint16_t uint16; +typedef uint32_t bool32; +typedef uint32_t uint32; +typedef int8_t int8; +typedef int16_t int16; +typedef int32_t int32; +typedef int64_t int64; //For Debugging Purposes: |