notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(CTR/3DS) add a warning message when mprotect is called without the
[pcsx_rearmed.git]
/
frontend
/
plugin.c
diff --git
a/frontend/plugin.c
b/frontend/plugin.c
index
d9eb04a
..
49ae1fe
100644
(file)
--- a/
frontend/plugin.c
+++ b/
frontend/plugin.c
@@
-66,6
+66,12
@@
static long PADreadPort2(PadDataS *pad)
{
pad->controllerType = in_type2;
pad->buttonStatus = ~in_keystate >> 16;
{
pad->controllerType = in_type2;
pad->buttonStatus = ~in_keystate >> 16;
+ if (in_type2 == PSE_PAD_TYPE_ANALOGPAD) {
+ pad->leftJoyX = in_a3[0];
+ pad->leftJoyY = in_a3[1];
+ pad->rightJoyX = in_a4[0];
+ pad->rightJoyY = in_a4[1];
+ }
return 0;
}
return 0;
}