aboutsummaryrefslogtreecommitdiff
path: root/source/globals.c
diff options
context:
space:
mode:
authoraliaspider2014-11-03 11:11:05 +0100
committeraliaspider2014-11-03 11:11:05 +0100
commit7077e9821593b2c9b78830c4cc5055c6a79cdd69 (patch)
tree615195d3db586f5542eddd0cbd17e46e816f954b /source/globals.c
parent3564bfe8134ce6e1294a59212484e9ee487ab4f5 (diff)
downloadsnes9x2005-7077e9821593b2c9b78830c4cc5055c6a79cdd69.tar.gz
snes9x2005-7077e9821593b2c9b78830c4cc5055c6a79cdd69.tar.bz2
snes9x2005-7077e9821593b2c9b78830c4cc5055c6a79cdd69.zip
can build with USE_BLARGG_APU enabled, still not working.
Diffstat (limited to 'source/globals.c')
-rw-r--r--source/globals.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/globals.c b/source/globals.c
index e2c9d7c..3303dca 100644
--- a/source/globals.c
+++ b/source/globals.c
@@ -110,9 +110,11 @@ SICPU ICPU;
SCPUState CPU;
+#ifndef USE_BLARGG_APU
SAPU APU;
-
SIAPU IAPU;
+SSoundData SoundData;
+#endif
SSettings Settings;
@@ -120,7 +122,7 @@ SDSP1 DSP1;
SSA1 SA1;
-SSoundData SoundData;
+
SnesModel M1SNES = {1, 3, 2};
SnesModel M2SNES = {2, 4, 3};
@@ -169,6 +171,7 @@ uint32 even_low[4][16];
SCheatData Cheat;
#endif
+#ifndef USE_BLARGG_APU
SoundStatus so;
int Echo [24000];
@@ -178,7 +181,7 @@ int EchoBuffer [SOUND_BUFFER_SIZE];
int FilterTaps [8];
unsigned long Z = 0;
int Loop [16];
-
+#endif
uint16 SignExtend [2] =
{
0x00, 0xff00