mirror of https://github.com/PCSX2/pcsx2.git
onepad: print a more accurate message when only a single pad is detected
This commit is contained in:
parent
d6c27c190d
commit
8c37418e44
|
@ -135,7 +135,11 @@ void JoystickConfiguration::InitJoystickConfiguration()
|
|||
* Prevent to use a none initialized value on s_vgamePad (core dump)
|
||||
*/
|
||||
if (s_vgamePad.size() < m_pad_id + 1) {
|
||||
wxMessageBox(L"No gamepad detected.");
|
||||
if (s_vgamePad.empty())
|
||||
wxMessageBox(L"No gamepad detected.");
|
||||
else
|
||||
wxMessageBox(L"No second gamepad detected.");
|
||||
|
||||
// disable all checkbox
|
||||
if (m_isForLeftJoystick) {
|
||||
m_cb_reverse_Lx->Disable();
|
||||
|
|
Loading…
Reference in New Issue