From c932b02d2ed32f2e99d88af4428a5daf7550881e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 5 Aug 2016 22:11:07 +0200 Subject: Start using stdint types --- src/port.h | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) (limited to 'src/port.h') diff --git a/src/port.h b/src/port.h index fa90601..4460023 100644 --- a/src/port.h +++ b/src/port.h @@ -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 +#include #include #include #include //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: -- cgit v1.2.3