/
blargg_config.h
executable file
·55 lines (42 loc) · 1.37 KB
/
blargg_config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Library configuration. Modify this file as necessary.
// Game_Music_Emu 0.6-pre
#ifndef BLARGG_CONFIG_H
#define BLARGG_CONFIG_H
// Uncomment a #define line below to have effect described.
// Allow static linking with this library and one of my other libraries
// in the same program.
//#define BLARGG_NAMESPACE blargg_gme
// Use zlib for transparent decompression of gzipped files.
#define HAVE_ZLIB_H
// Support only listed music types. Remove a line to disable that type.
/* #define GME_TYPE_LIST \
gme_ay_type,\
gme_gbs_type,\
gme_gym_type,\
gme_hes_type,\
gme_kss_type,\
gme_nsf_type,\
gme_nsfe_type,\
gme_sap_type,\
gme_sgc_type,\
gme_spc_type,\
gme_vgm_type,\
gme_vgz_type
*/
// Enable platform-specific optimizations.
#define BLARGG_NONPORTABLE 0
// Use faster sample rate convertor for SPC music.
#define GME_SPC_FAST_RESAMPLER 1
// Use faster sample rate convertor for VGM and GYM music.
#define GME_VGM_FAST_RESAMPLER 1
// Use faster, significantly lower quality sound synthesis for classic emulators.
//#define BLIP_BUFFER_FAST 1
// Reduce memory usage of gme.h by disabling gme_set_effects_config().
//#define GME_DISABLE_EFFECTS 1
// Force library to use assume big-endian processor.
//#define BLARGG_BIG_ENDIAN 1
// Use standard config.h if present
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#endif