Browse code

[GSF] Removed Types.h because all it really was doing now was including stdint.

Naram Qashat authored on 2013/05/10 19:31:06
Showing 8 changed files
... ...
@@ -105,7 +105,6 @@
105 105
     <ClInclude Include="vbam\apu\Multi_Buffer.h" />
106 106
     <ClInclude Include="vbam\common\Port.h" />
107 107
     <ClInclude Include="vbam\common\SoundDriver.h" />
108
-    <ClInclude Include="vbam\common\Types.h" />
109 108
     <ClInclude Include="vbam\gba\bios.h" />
110 109
     <ClInclude Include="vbam\gba\GBA.h" />
111 110
     <ClInclude Include="vbam\gba\GBAcpu.h" />
... ...
@@ -125,8 +125,5 @@
125 125
     <ClInclude Include="vbam\gba\Sound.h">
126 126
       <Filter>Header Files\vbam\gba</Filter>
127 127
     </ClInclude>
128
-    <ClInclude Include="vbam\common\Types.h">
129
-      <Filter>Header Files\vbam\common</Filter>
130
-    </ClInclude>
131 128
   </ItemGroup>
132 129
 </Project>
133 130
\ No newline at end of file
... ...
@@ -1,7 +1,7 @@
1 1
 #ifndef PORT_H
2 2
 #define PORT_H
3 3
 
4
-#include "Types.h"
4
+#include <cstdint>
5 5
 
6 6
 // swaps a 16-bit value
7 7
 static inline uint16_t swap16(uint16_t v)
... ...
@@ -18,7 +18,7 @@
18 18
 #ifndef __VBA_SOUND_DRIVER_H__
19 19
 #define __VBA_SOUND_DRIVER_H__
20 20
 
21
-#include "Types.h"
21
+#include <cstdint>
22 22
 
23 23
 /**
24 24
  * Sound driver abstract interface for the core to use to output sound.
25 25
deleted file mode 100644
... ...
@@ -1,33 +0,0 @@
1
-// VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator.
2
-// Copyright (C) 2008 VBA-M development team
3
-
4
-// This program is free software; you can redistribute it and/or modify
5
-// it under the terms of the GNU General Public License as published by
6
-// the Free Software Foundation; either version 2, or(at your option)
7
-// any later version.
8
-//
9
-// This program is distributed in the hope that it will be useful,
10
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
-// GNU General Public License for more details.
13
-//
14
-// You should have received a copy of the GNU General Public License
15
-// along with this program; if not, write to the Free Software Foundation,
16
-// Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17
-
18
-#ifndef __VBA_TYPES_H__
19
-#define __VBA_TYPES_H__
20
-
21
-#include <stdint.h>
22
-
23
-/*typedef uint8_t u8;
24
-typedef uint16_t u16;
25
-typedef uint32_t u32;
26
-typedef uint64_t u64;
27
-
28
-typedef int8_t s8;
29
-typedef int16_t s16;
30
-typedef int32_t s32;
31
-typedef int64_t s64;*/
32
-
33
-#endif // __VBA_TYPES_H__
... ...
@@ -1,8 +1,7 @@
1 1
 #ifndef GBA_H
2 2
 #define GBA_H
3 3
 
4
-//#include "../System.h"
5
-#include "../common/Types.h"
4
+#include <cstdint>
6 5
 
7 6
 /*#define SAVE_GAME_VERSION_1 1
8 7
 #define SAVE_GAME_VERSION_2 2
... ...
@@ -1,7 +1,7 @@
1 1
 #ifndef GLOBALS_H
2 2
 #define GLOBALS_H
3 3
 
4
-#include "../common/Types.h"
4
+#include <cstdint>
5 5
 #include "GBA.h"
6 6
 
7 7
 #define VERBOSE_SWI                  1
... ...
@@ -3,8 +3,7 @@
3 3
 
4 4
 // Sound emulation setup/options and GBA sound emulation
5 5
 
6
-//#include "../System.h"
7
-#include "../common/Types.h"
6
+#include <cstdint>
8 7
 
9 8
 extern bool soundDeclicking;
10 9