From 240257a01bd9c3c32971361a39008e5da99b2de3 Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Sat, 27 Apr 2019 23:06:38 +0800 Subject: [PATCH] wx: Change max volume from 400 to 200 - global implementation has set max at 200% (2.0 float), its already loud enough at 100% --- src/wx/opts.cpp | 2 +- src/wx/xrc/SoundConfig.xrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wx/opts.cpp b/src/wx/opts.cpp index 9eb6b66d..957a391f 100644 --- a/src/wx/opts.cpp +++ b/src/wx/opts.cpp @@ -295,7 +295,7 @@ opt_desc opts[] = { INTOPT("Sound/GBStereo", "", wxTRANSLATE("GB stereo effect (%)"), gopts.gb_stereo, 0, 100), BOOLOPT("Sound/GBSurround", "GBSurround", wxTRANSLATE("GB surround sound effect (%)"), gopts.gb_effects_config_surround), ENUMOPT("Sound/Quality", "", wxTRANSLATE("Sound sample rate (kHz)"), gopts.sound_qual, wxTRANSLATE("48|44|22|11")), - INTOPT("Sound/Volume", "", wxTRANSLATE("Sound volume (%)"), gopts.sound_vol, 0, 400) + INTOPT("Sound/Volume", "", wxTRANSLATE("Sound volume (%)"), gopts.sound_vol, 0, 200) }; const int num_opts = sizeof(opts) / sizeof(opts[0]); diff --git a/src/wx/xrc/SoundConfig.xrc b/src/wx/xrc/SoundConfig.xrc index 531208d0..c6e55166 100644 --- a/src/wx/xrc/SoundConfig.xrc +++ b/src/wx/xrc/SoundConfig.xrc @@ -22,7 +22,7 @@ 100 0 - 400 + 200 wxALL|wxEXPAND 5