Skip to content
Permalink
Browse files

wx: Change max volume from 400 to 200

- global implementation has set max at 200% (2.0 float), its already loud enough at 100%
  • Loading branch information
retro-wertz authored and rkitover committed Apr 27, 2019
1 parent 57ed465 commit 240257a01bd9c3c32971361a39008e5da99b2de3
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/wx/opts.cpp
  2. +1 −1 src/wx/xrc/SoundConfig.xrc
@@ -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]);

@@ -22,7 +22,7 @@
<object class="wxSlider" name="Volume">
<value>100</value>
<min>0</min>
<max>400</max>
<max>200</max>
</object>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>

0 comments on commit 240257a

Please sign in to comment.
You can’t perform that action at this time.