]> Shamusworld >> Repos - virtualjaguar/blob - src/include/types.h
Minor changes to prevent compilation errors
[virtualjaguar] / src / include / types.h
1 //
2 // GCC/SDL port by Niels Wagenaar (Linux/WIN32) and Caz (BeOS)
3 // Removal of unsafe macros and addition of typdefs by James L. Hammons
4 //
5
6 #ifndef __TYPES_H__
7 #define __TYPES_H__
8
9 // This is only good on certain intel 32-bit platforms...
10 // You may need to tweak to suit your specific platform.
11
12 typedef unsigned char           uint8;
13 typedef signed char                     int8;
14 typedef unsigned short          uint16;
15 typedef signed short            int16;
16 typedef unsigned                        uint32;
17 typedef signed                          int32;
18 typedef unsigned long long      uint64;
19 typedef signed long long        int64;
20
21 typedef uint8   UINT8;
22 typedef int8    INT8;
23 typedef uint16  UINT16;
24 typedef int16   INT16;
25 typedef uint32  UINT32;
26 typedef int32   INT32;
27 typedef uint64  UINT64;
28 typedef int64   INT64;
29
30 // Read/write tracing enumeration
31
32 enum { UNKNOWN, JAGUAR, DSP, GPU, TOM, JERRY, M68K, BLITTER, OP };
33
34 #endif  // __TYPES_H__