aboutsummaryrefslogtreecommitdiff
path: root/source/soundux.h
diff options
context:
space:
mode:
authorNebuleon Fumika2013-01-26 14:49:18 -0500
committerNebuleon Fumika2013-01-26 14:49:18 -0500
commit2b715684087675747df7cb8995695936f20c782b (patch)
tree3ed587f38ed2cbb2aff474be8d372a6417e4ed2b /source/soundux.h
parent2b9a9dc05b5c4abdf5dac5ceba9300734d4f1b65 (diff)
downloadsnesemu-2b715684087675747df7cb8995695936f20c782b.tar.gz
snesemu-2b715684087675747df7cb8995695936f20c782b.tar.bz2
snesemu-2b715684087675747df7cb8995695936f20c782b.zip
Reverse the loop in MixStereo such that instead of "for each channel, for each playback sample, add into the mix buffer", the playback sample is instead written to the mix buffer only when fully mixed from the 8 SNES sound channels.
Verified working with Secret of Mana, Super Bomberman 5 and Super Mario World.
Diffstat (limited to 'source/soundux.h')
-rw-r--r--source/soundux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/soundux.h b/source/soundux.h
index 8fb8396..b603df8 100644
--- a/source/soundux.h
+++ b/source/soundux.h
@@ -212,7 +212,7 @@ typedef struct
// Just incase they are needed in the future, for snapshot compatibility.
uint32 dummy [3];
Channel channels [NUM_CHANNELS];
- bool8 no_filter;
+ // bool8 no_filter;
int master_volume [2]; /* range is -128 .. 127 */
int echo_volume [2]; /* range is -128 .. 127 */
int noise_hertz;