diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-08-07 20:01:04 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-08-07 20:01:04 +0000 |
commit | acb0917556fc33681c1df5a530cf754193e67705 (patch) | |
tree | 052a47097009a210e4aed9c207bd6aa4828cc000 /apps/codecs/libgme/emutypes.h | |
parent | 93c6f1329a5691a8be158cefe15641bd1daf9ef8 (diff) | |
download | rockbox-acb0917556fc33681c1df5a530cf754193e67705.tar.gz rockbox-acb0917556fc33681c1df5a530cf754193e67705.zip |
Submit initial patch from FS#12176. Adds support for several new game music formats (AY, GBS, HES, KSS, SGC, VGM and VGZ) and replaces the current NSF and NSFE with a new implementation based on a port of the Game Music Emu library 'GME'. This first submit does not cover the full functionality provided by the author's original patch: Coleco-SGV is not supported, some GME-specific m3u-support has been removed and IRAM is not used yet. Further changes are very likely to follow this submit. Thanks to Mauricio Garrido.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30264 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libgme/emutypes.h')
-rw-r--r-- | apps/codecs/libgme/emutypes.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/apps/codecs/libgme/emutypes.h b/apps/codecs/libgme/emutypes.h new file mode 100644 index 0000000000..bf5d7e1bf2 --- /dev/null +++ b/apps/codecs/libgme/emutypes.h | |||
@@ -0,0 +1,41 @@ | |||
1 | #ifndef _EMUTYPES_H_ | ||
2 | #define _EMUTYPES_H_ | ||
3 | |||
4 | #if defined(_MSC_VER) | ||
5 | #define INLINE __forceinline | ||
6 | #elif defined(__GNUC__) | ||
7 | #define INLINE __inline__ | ||
8 | #elif defined(_MWERKS_) | ||
9 | #define INLINE inline | ||
10 | #else | ||
11 | #define INLINE | ||
12 | #endif | ||
13 | |||
14 | #if defined(EMU_DLL_IMPORTS) | ||
15 | #define EMU2149_DLL_IMPORTS | ||
16 | #define EMU2212_DLL_IMPORTS | ||
17 | #define EMU2413_DLL_IMPORTS | ||
18 | #define EMU8950_DLL_IMPORTS | ||
19 | #define EMU76489_DLL_IMPORTS | ||
20 | #endif | ||
21 | |||
22 | #ifdef __cplusplus | ||
23 | extern "C" { | ||
24 | #endif | ||
25 | |||
26 | typedef unsigned int e_uint; | ||
27 | typedef signed int e_int; | ||
28 | |||
29 | typedef unsigned char e_uint8 ; | ||
30 | typedef signed char e_int8 ; | ||
31 | |||
32 | typedef unsigned short e_uint16 ; | ||
33 | typedef signed short e_int16 ; | ||
34 | |||
35 | typedef unsigned int e_uint32 ; | ||
36 | typedef signed int e_int32 ; | ||
37 | |||
38 | #ifdef __cplusplus | ||
39 | } | ||
40 | #endif | ||
41 | #endif | ||