pcsx2/plugins
Akash eda22c241d GSdx: Improve robustness of ComboBoxInit()
Previously, the combobox will reach an indeterminate state whenever it's passed with a value out of range via ComboBoxInit(). To avoid such cases, let's initialize the current selection of the combobox with the front element of the settings vector whenever we detect an out of range value which is not declared in the vector.

To reproduce the issue, set "Renderer" to some sort of crazy value like 50 in the GSdx.ini file and it'll mess up the whole GSdx plugin dialog really bad. This patch prevents such undesirable behavior by simply selecting the front element in the vector when we read an unsupported value.
2017-02-01 11:29:38 +00:00
..
CDVDnull Remove warnings about ISO C++11 conformance 2017-01-29 09:06:10 -05:00
CDVDpeops Introduce end-of-line normalization 2015-08-04 23:52:48 +02:00
FWnull Remove warnings about ISO C++11 conformance 2017-01-29 09:06:10 -05:00
GSdx GSdx: Improve robustness of ComboBoxInit() 2017-02-01 11:29:38 +00:00
GSdx_legacy windows: Don't use __declspec(dllexport) for plugin exports 2016-06-05 22:57:42 +01:00
GSnull Remove old/pointless code 2017-01-29 09:06:21 -05:00
LilyPad LilyPad: UI restructure 2017-01-26 19:46:37 +01:00
PadNull Remove warnings about ISO C++11 conformance 2017-01-29 09:06:10 -05:00
PeopsSPU2 Introduce end-of-line normalization 2015-08-04 23:52:48 +02:00
SPU2null Remove old/pointless code 2017-01-29 09:06:21 -05:00
SSSPSXPAD windows: Remove user.props references from all projects 2016-05-29 12:21:52 +01:00
USBnull Remove warnings about ISO C++11 conformance 2017-01-29 09:06:10 -05:00
USBqemu Remove warnings about ISO C++11 conformance 2017-01-29 09:06:10 -05:00
cdvdGigaherz/src Remove warnings about ISO C++11 conformance 2017-01-29 09:06:10 -05:00
dev9ghzdrk Remove warnings about ISO C++11 conformance 2017-01-29 09:06:10 -05:00
dev9null Remove warnings about ISO C++11 conformance 2017-01-29 09:06:10 -05:00
onepad Merge pull request #1770 from np511/gcc-cleanup 2017-01-30 15:28:33 +01:00
spu2-x gsdx|spu2x: fix %d/%u in printf (cppcheck) 2017-01-22 21:10:40 +01:00
xpad plugins: Tidy/standardise VS projects 2016-07-19 23:25:12 +01:00
zerogs Remove warnings about ISO C++11 conformance 2017-01-29 09:06:10 -05:00
zerospu2 Remove warnings about ISO C++11 conformance 2017-01-29 09:06:10 -05:00
zzogl-pg/opengl Remove warnings about ISO C++11 conformance 2017-01-29 09:06:10 -05:00
CMakeLists.txt plugins: Remove cdvdlinuz 2017-01-20 00:04:14 +00:00