annotate src/sdl/Types.h @ 491:2304906d443b
added function to pack gb-rgb bytes
author |
Robert McIntyre <rlm@mit.edu> |
date |
Thu, 24 May 2012 17:33:25 -0500 |
parents |
f9f4f1b99eed |
children |
|
rev |
line source |
rlm@1
|
1 // VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator.
|
rlm@1
|
2 // Copyright (C) 2008 VBA-M development team
|
rlm@1
|
3
|
rlm@1
|
4 // This program is free software; you can redistribute it and/or modify
|
rlm@1
|
5 // it under the terms of the GNU General Public License as published by
|
rlm@1
|
6 // the Free Software Foundation; either version 2, or(at your option)
|
rlm@1
|
7 // any later version.
|
rlm@1
|
8 //
|
rlm@1
|
9 // This program is distributed in the hope that it will be useful,
|
rlm@1
|
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
|
rlm@1
|
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
rlm@1
|
12 // GNU General Public License for more details.
|
rlm@1
|
13 //
|
rlm@1
|
14 // You should have received a copy of the GNU General Public License
|
rlm@1
|
15 // along with this program; if not, write to the Free Software Foundation,
|
rlm@1
|
16 // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
rlm@1
|
17
|
rlm@1
|
18 #ifndef __VBA_TYPES_H__
|
rlm@1
|
19 #define __VBA_TYPES_H__
|
rlm@1
|
20
|
rlm@1
|
21 #include <stdint.h>
|
rlm@1
|
22
|
rlm@1
|
23 typedef uint8_t u8;
|
rlm@1
|
24 typedef uint16_t u16;
|
rlm@1
|
25 typedef uint32_t u32;
|
rlm@1
|
26 typedef uint64_t u64;
|
rlm@1
|
27
|
rlm@1
|
28 typedef int8_t s8;
|
rlm@1
|
29 typedef int16_t s16;
|
rlm@1
|
30 typedef int32_t s32;
|
rlm@1
|
31 typedef int64_t s64;
|
rlm@1
|
32
|
rlm@1
|
33 #endif // __VBA_TYPES_H__
|