]> Shamusworld >> Repos - virtualjaguar/blob - src/types.h
Fixed types in types.h to use C99 standard types, also removed all references
[virtualjaguar] / src / 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 should be portable, since it's part of the C99 standard...!
10
11 #include <stdint.h>
12
13 typedef uint8_t         uint8;
14 typedef int8_t          int8;
15 typedef uint16_t        uint16;
16 typedef int16_t         int16;
17 typedef uint32_t        uint32;
18 typedef int32_t         int32;
19 typedef uint64_t        uint64;
20 typedef int64_t         int64;
21
22 // Read/write tracing enumeration
23
24 enum { UNKNOWN, JAGUAR, DSP, GPU, TOM, JERRY, M68K, BLITTER, OP };
25
26 #endif  // __TYPES_H__