wx: Change max volume from 400 to 200

- global implementation has set max at 200% (2.0 float), its already loud enough at 100%
This commit is contained in:
retro-wertz 2019-04-27 23:06:38 +08:00 committed by Rafael Kitover
parent 57ed465ebb
commit 240257a01b
2 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@ opt_desc opts[] = {
INTOPT("Sound/GBStereo", "", wxTRANSLATE("GB stereo effect (%)"), gopts.gb_stereo, 0, 100), 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), 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")), 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]); const int num_opts = sizeof(opts) / sizeof(opts[0]);

View File

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