From 7896e83aa9a3da428d3a56423a5c613782d1ac18 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Fri, 11 Jan 2013 18:58:07 -0500 Subject: Stop constantly testing for 16-bit and stereo in sound handlers. Define FOREVER_16_BIT_SOUND and FOREVER_STEREO and use them throughout the code. This is essentially commit 6b36e79013d4c9273a96a9783a2bccdb516f174a, but for sound instead of graphics. --- source/snes9x.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/snes9x.h') diff --git a/source/snes9x.h b/source/snes9x.h index e9e29b8..ebcf5e3 100644 --- a/source/snes9x.h +++ b/source/snes9x.h @@ -328,9 +328,13 @@ struct SSettings{ /* Sound options */ uint32 SoundPlaybackRate; bool8 TraceSoundDSP; +#ifndef FOREVER_STEREO bool8 Stereo; +#endif bool8 ReverseStereo; +#ifndef FOREVER_16_BIT_SOUND bool8 SixteenBitSound; +#endif int SoundBufferSize; int SoundMixInterval; bool8 SoundEnvelopeHeightReading; -- cgit v1.2.3