mirror of https://github.com/PCSX2/pcsx2.git
Lilypad: Don't screw users which already had the problematic option set.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4794 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
159f4a691f
commit
c03919eb18
|
@ -713,9 +713,9 @@ void ResetPad(int port, int slot) {
|
||||||
pads[port][slot].umask[0] = pads[port][slot].umask[1] = 0xFF;
|
pads[port][slot].umask[0] = pads[port][slot].umask[1] = 0xFF;
|
||||||
// Sets up vibrate variable.
|
// Sets up vibrate variable.
|
||||||
ResetVibrate(port, slot);
|
ResetVibrate(port, slot);
|
||||||
if (config.padConfigs[port][slot].autoAnalog) {
|
/*if (config.padConfigs[port][slot].autoAnalog) {
|
||||||
pads[port][slot].mode = MODE_ANALOG;
|
pads[port][slot].mode = MODE_ANALOG;
|
||||||
}
|
}*/
|
||||||
pads[port][slot].initialized = 1;
|
pads[port][slot].initialized = 1;
|
||||||
|
|
||||||
pads[port][slot].enabled = enabled;
|
pads[port][slot].enabled = enabled;
|
||||||
|
@ -1252,9 +1252,9 @@ u8 CALLBACK PADpoll(u8 value) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
pad->modeLock = 0;
|
pad->modeLock = 0;
|
||||||
if (pad->mode == MODE_DIGITAL && config.padConfigs[query.port][query.slot].autoAnalog) {
|
/*if (pad->mode == MODE_DIGITAL && config.padConfigs[query.port][query.slot].autoAnalog) {
|
||||||
pad->mode = MODE_ANALOG;
|
pad->mode = MODE_ANALOG;
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
query.queryDone = 1;
|
query.queryDone = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue