OnePad: Fix multi-gamepad support

Can change the number of gamepad with the constant GAMEPAD_NUMBER in the onepad.h file
This commit is contained in:
kust2708 committed 2016-02-27 22:11:08 +01:00
1 parent 0b0e2a3f34
commit de5f7f70e2
10 files changed
+41 -36

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@
void KeyStatus::Init()
{
for (int pad = 0; pad < 2; pad++) {
for (int pad = 0; pad < GAMEPAD_NUMBER; pad++) {
m_button[pad] = 0xFFFF;
m_internal_button_kbd[pad] = 0xFFFF;
m_internal_button_joy[pad] = 0xFFFF;