From 16a41b40b87031dd437385299e7e197a5a863f98 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Sun, 10 Feb 2013 00:12:41 -0500 Subject: A type mismatch in sound channel data messed up the sound after loading a saved state in certain games. int (32 bit) is now short (16 bit). --- source/soundux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/soundux.h') diff --git a/source/soundux.h b/source/soundux.h index b57e945..7855d6c 100644 --- a/source/soundux.h +++ b/source/soundux.h @@ -213,8 +213,8 @@ typedef struct uint32 dummy [3]; Channel channels [NUM_CHANNELS]; // bool8 no_filter; - int master_volume [2]; /* range is -128 .. 127 */ - int echo_volume [2]; /* range is -128 .. 127 */ + short master_volume [2]; /* range is -128 .. 127 */ + short echo_volume [2]; /* range is -128 .. 127 */ int noise_hertz; } SSoundData; -- cgit v1.2.3