X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Finclude%2Ftypes.h;h=bfdd56e4c50dba281f2dd774b8d8301282860872;hb=67a5f1a40072983cf87ae2093ca95c271d14e706;hp=3ed734dabe5a591c2002b5a09e5a41b4f5c07853;hpb=0031c06df2f7f099ca5ecf1632f46b92f6b0dd79;p=virtualjaguar diff --git a/src/include/types.h b/src/include/types.h index 3ed734d..bfdd56e 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -1,3 +1,4 @@ +// // GCC/SDL port by Niels Wagenaar (Linux/WIN32) and Caz (BeOS) // Removal of unsafe macros and addition of typdefs by James L. Hammons // @@ -5,18 +6,14 @@ #ifndef __TYPES_H__ #define __TYPES_H__ -#ifdef __PORT__ -#include -typedef unsigned char BYTE; -typedef unsigned short WORD; -typedef unsigned long DWORD; -#ifdef __GCCUNIX__ -typedef long long __int64; // Could probably remove this crap with some judicious pruning -#endif // #ifdef __GCCUNIX__ -typedef int HWND; -#else -#include -#endif // #ifdef __PORT__ +#include // Why??? + +//typedef unsigned char BYTE; +//typedef unsigned short WORD; +//typedef unsigned long DWORD; +//#ifdef __GCCUNIX__ +//typedef long long __int64; // Could probably remove this crap with some judicious pruning +//#endif // This is only good on certain intel 32-bit platforms... // You may need to tweak to suit your specific platform. @@ -39,4 +36,8 @@ typedef INT32 int32; typedef UINT64 uint64; typedef INT64 int64; -#endif // #ifndef __TYPES_H__ +// Read/write tracing enumeration + +enum { UNKNOWN, JAGUAR, DSP, GPU, TOM, JERRY, M68K, BLITTER, OP }; + +#endif // __TYPES_H__