aboutsummaryrefslogtreecommitdiff
path: root/source/nds
diff options
context:
space:
mode:
authorNebuleon Fumika2013-01-05 04:01:01 -0500
committerNebuleon Fumika2013-01-05 04:01:01 -0500
commit1c48900fdace9b2ba1cd3b93ecae8aacb1e11168 (patch)
treeaeebe40a9d6796565ab827c0d01d9e2c8eb1b801 /source/nds
parent6df0031bdb8b7de341512e7fb807097243c9f840 (diff)
downloadsnes9x2005-1c48900fdace9b2ba1cd3b93ecae8aacb1e11168.tar.gz
snes9x2005-1c48900fdace9b2ba1cd3b93ecae8aacb1e11168.tar.bz2
snes9x2005-1c48900fdace9b2ba1cd3b93ecae8aacb1e11168.zip
Sync ALL bits of the joypad again. This may make controls a bit slower to parse, but is required by Super Mario All-Stars at least.
Diffstat (limited to 'source/nds')
-rw-r--r--source/nds/entry.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/nds/entry.cpp b/source/nds/entry.cpp
index 9928985..5573f47 100644
--- a/source/nds/entry.cpp
+++ b/source/nds/entry.cpp
@@ -1001,8 +1001,7 @@ unsigned int S9xReadJoypad (int which1)
key |= (inputdata.key & (1<<i)) ? keymap[i] : 0;
}
- // return (key | 0x80000000);
- return key; // ??? [Neb]
+ return (key | 0x80000000);
}
else
return 0;