diff --git a/src/pc.c b/src/pc.c
index eb487dd..21ad726 100644
--- a/src/pc.c
+++ b/src/pc.c
@@ -669,6 +669,7 @@ void loadconfig(char *fn)
window_remember = config_get_int(CFG_GLOBAL, NULL, "window_remember", 0);
sound_buf_len = config_get_int(CFG_GLOBAL, NULL, "sound_buf_len", 200);
+ sound_gain = config_get_int(CFG_GLOBAL, NULL, "sound_gain", 0);
GAMEBLASTER = config_get_int(CFG_MACHINE, NULL, "gameblaster", 0);
GUS = config_get_int(CFG_MACHINE, NULL, "gus", 0);
@@ -840,6 +841,7 @@ void saveconfig(char *fn)
config_set_int(CFG_GLOBAL, NULL, "window_remember", window_remember);
config_set_int(CFG_GLOBAL, NULL, "sound_buf_len", sound_buf_len);
+ config_set_int(CFG_GLOBAL, NULL, "sound_gain", sound_gain);
config_set_int(CFG_MACHINE, NULL, "gameblaster", GAMEBLASTER);
config_set_int(CFG_MACHINE, NULL, "gus", GUS);
diff --git a/src/pc.xrc b/src/pc.xrc
index dc988d6..6df87ea 100644
--- a/src/pc.xrc
+++ b/src/pc.xrc
@@ -31,6 +31,7 @@
+
@@ -394,6 +395,49 @@
1
+