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
spu: patch up more savestate issues
[pcsx_rearmed.git]
/
libpcsxcore
/
plugins.c
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??
{
// 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
}
// Build response for 0x42 request Pad in port