summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/blargg_config.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-07 20:01:04 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-07 20:01:04 +0000
commitacb0917556fc33681c1df5a530cf754193e67705 (patch)
tree052a47097009a210e4aed9c207bd6aa4828cc000 /apps/codecs/libgme/blargg_config.h
parent93c6f1329a5691a8be158cefe15641bd1daf9ef8 (diff)
downloadrockbox-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/blargg_config.h')
-rw-r--r--apps/codecs/libgme/blargg_config.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/apps/codecs/libgme/blargg_config.h b/apps/codecs/libgme/blargg_config.h
new file mode 100644
index 0000000000..6490c15cfb
--- /dev/null
+++ b/apps/codecs/libgme/blargg_config.h
@@ -0,0 +1,42 @@
1// Library configuration. Modify this file as necessary.
2
3#ifndef BLARGG_CONFIG_H
4#define BLARGG_CONFIG_H
5
6// Uncomment to enable platform-specific optimizations
7//#define BLARGG_NONPORTABLE 1
8
9// Uncomment if automatic byte-order determination doesn't work
10#ifdef ROCKBOX_BIG_ENDIAN
11 #define BLARGG_BIG_ENDIAN 1
12#endif
13
14// Uncomment if you get errors in the bool section of blargg_common.h
15#define BLARGG_COMPILER_HAS_BOOL 1
16
17// Uncomment to use fast gb apu implementation
18// #define GB_APU_FAST 1
19
20// Uncomment to remove agb emulation support
21// #define GB_APU_NO_AGB 1
22
23// Uncomment to emulate only nes apu
24// #define NSF_EMU_APU_ONLY 1
25
26// Uncomment to remove vrc7 apu support
27// #define NSF_EMU_NO_VRC7 1
28
29// Uncomment to remove fmopl apu support
30// #define KSS_EMU_NO_FMOPL 1
31
32// To handle undefined reference to assert
33#define NDEBUG 1
34
35// Use standard config.h if present
36#define HAVE_CONFIG_H 1
37
38#ifdef HAVE_CONFIG_H
39 #include "config.h"
40#endif
41
42#endif