diff src/sdl/Types.h @ 28:2efb971df515

bringing in SDL package
author Robert McIntyre <rlm@mit.edu>
date Sun, 04 Mar 2012 21:06:50 -0600
parents f9f4f1b99eed
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/sdl/Types.h	Sun Mar 04 21:06:50 2012 -0600
     1.3 @@ -0,0 +1,33 @@
     1.4 +// VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator.
     1.5 +// Copyright (C) 2008 VBA-M development team
     1.6 +
     1.7 +// This program is free software; you can redistribute it and/or modify
     1.8 +// it under the terms of the GNU General Public License as published by
     1.9 +// the Free Software Foundation; either version 2, or(at your option)
    1.10 +// any later version.
    1.11 +//
    1.12 +// This program is distributed in the hope that it will be useful,
    1.13 +// but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.14 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.15 +// GNU General Public License for more details.
    1.16 +//
    1.17 +// You should have received a copy of the GNU General Public License
    1.18 +// along with this program; if not, write to the Free Software Foundation,
    1.19 +// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    1.20 +
    1.21 +#ifndef __VBA_TYPES_H__
    1.22 +#define __VBA_TYPES_H__
    1.23 +
    1.24 +#include <stdint.h>
    1.25 +
    1.26 +typedef uint8_t u8;
    1.27 +typedef uint16_t u16;
    1.28 +typedef uint32_t u32;
    1.29 +typedef uint64_t u64;
    1.30 +
    1.31 +typedef int8_t s8;
    1.32 +typedef int16_t s16;
    1.33 +typedef int32_t s32;
    1.34 +typedef int64_t s64;
    1.35 +
    1.36 +#endif // __VBA_TYPES_H__