1
// Copyright (C) 2003 Dolphin Project.
3
// This program is free software: you can redistribute it and/or modify
4
// it under the terms of the GNU General Public License as published by
5
// the Free Software Foundation, version 2.0 or later versions.
7
// This program is distributed in the hope that it will be useful,
8
// but WITHOUT ANY WARRANTY; without even the implied warranty of
9
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
// GNU General Public License 2.0 for more details.
12
// A copy of the GPL 2.0 should have been included with the program.
13
// If not, see http://www.gnu.org/licenses/
15
// Official SVN repository and contact information can be found at
16
// http://code.google.com/p/dolphin-emu/
19
// This header contains type definitions that are shared between the Dolphin core and
20
// other parts of the code. Any definitions that are only used by the core should be
21
// placed in "Common.h" instead.
32
unsigned char value[3];
34
operator unsigned int(){
35
return 0x00000000 | (value[0] << 16) | (value[1] << 8) | (value[2] << 0);
41
typedef unsigned __int8 u8;
42
typedef unsigned __int16 u16;
43
typedef unsigned __int32 u32;
44
typedef unsigned __int64 u64;
46
typedef signed __int8 s8;
47
typedef signed __int16 s16;
48
typedef signed __int32 s32;
49
typedef signed __int64 s64;
53
typedef unsigned char u8;
54
typedef unsigned short u16;
55
typedef unsigned int u32;
56
typedef unsigned long long u64;
58
typedef signed char s8;
59
typedef signed short s16;
60
typedef signed int s32;
61
typedef signed long long s64;