mirror of
https://github.com/libretro/pcsx2.git
synced 2025-01-06 17:50:12 +00:00
LilyPad: Less sensitive (Higher pre-set deadzone) for copying analog state to d-pad state when in digital mode.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1919 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
2193e5aec6
commit
c82cb222d7
@ -916,7 +916,8 @@ void PluginManager::Open()
|
||||
const PluginInfo* pi = tbl_PluginInfo; do {
|
||||
Open( pi->id );
|
||||
// If GS doesn't support GSopen2, need to wait until call to GSopen
|
||||
// returns to populate pDsp.
|
||||
// returns to populate pDsp. If it does, can initialize otherp plugins
|
||||
// at same time as GS, as long as GSopen2 does not subclass its window.
|
||||
if (pi->id == PluginId_GS && !GSopen2) mtgsThread.WaitForOpen();
|
||||
} while( ++pi, pi->shortname != NULL );
|
||||
|
||||
|
@ -533,12 +533,12 @@ void Update(unsigned int port, unsigned int slot) {
|
||||
}
|
||||
|
||||
if (pads[port][slot].mode == 0x41) {
|
||||
s[port][slot].sticks[0].horiz +=
|
||||
s[port][slot].sticks[1].horiz +
|
||||
s[port][slot].sticks[2].horiz;
|
||||
s[port][slot].sticks[0].vert +=
|
||||
s[port][slot].sticks[1].vert +
|
||||
s[port][slot].sticks[2].vert;
|
||||
for (int i=1; i<=2; i++) {
|
||||
if (abs(s[port][slot].sticks[i].horiz) >= 100)
|
||||
s[port][slot].sticks[0].horiz += s[port][slot].sticks[i].horiz;
|
||||
if (abs(s[port][slot].sticks[i].vert) >= 100)
|
||||
s[port][slot].sticks[0].vert += s[port][slot].sticks[i].vert;
|
||||
}
|
||||
}
|
||||
|
||||
CapSum(&s[port][slot]);
|
||||
|
Loading…
Reference in New Issue
Block a user