aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agi/sound.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/agi/sound.cpp b/engines/agi/sound.cpp
index 24602822f7..0d2bb853cf 100644
--- a/engines/agi/sound.cpp
+++ b/engines/agi/sound.cpp
@@ -110,11 +110,9 @@ struct IIgsSampleHeader {
IIgsInstrumentHeader instrument;
};
-#if 0
-static SoundInstrument *instruments;
-static int numInstruments;
-static uint8 *wave;
-#endif
+static IIgsInstrumentHeader g_instruments[MAX_INSTRUMENTS];
+static uint g_numInstruments = 0;
+static int16 g_wave[SIERRASTANDARD_SIZE]; // FIXME? Should this be allocated from the heap? (Size is 128KiB)
bool readIIgsEnvelope(IIgsEnvelope &envelope, Common::SeekableReadStream &stream) {
for (int segNum = 0; segNum < ENVELOPE_SEGMENT_COUNT; segNum++) {