notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f5d76
)
adjust the deadzone hack
author
notaz
<notasas@gmail.com>
Sat, 4 Nov 2023 00:06:57 +0000
(
02:06
+0200)
committer
notaz
<notasas@gmail.com>
Sat, 4 Nov 2023 00:08:16 +0000
(
02:08
+0200)
libretro/pcsx_rearmed#792
libpcsxcore/plugins.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/plugins.c
b/libpcsxcore/plugins.c
index
a617187
..
d44442b
100644
(file)
--- a/
libpcsxcore/plugins.c
+++ b/
libpcsxcore/plugins.c
@@
-626,8
+626,9
@@
static void adjust_analog(unsigned char *b)
{
// ff8 hates 0x80 for whatever reason (broken in 2d area menus),
// or is this caused by something else we do wrong??
- if (b[6] == 0x80)
- b[6] = 0x7f;
+ // Also S.C.A.R.S. treats 0x7f as turning left.
+ if (b[6] == 0x7f || b[6] == 0x80)
+ b[6] = 0x81;
}
// Build response for 0x42 request Pad in port