aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfinput
diff options
context:
space:
mode:
authornotaz2011-06-14 18:55:39 +0300
committernotaz2011-06-14 18:55:39 +0300
commit9c1517da3ec9533c8722a7a0e5bbf815dbb2909f (patch)
treeea71140bb547dcad440524a41a5b83335321ef12 /plugins/dfinput
parentab948f7e6d437dddd070000f36489d7e983eb4ad (diff)
downloadpcsx_rearmed-9c1517da3ec9533c8722a7a0e5bbf815dbb2909f.tar.gz
pcsx_rearmed-9c1517da3ec9533c8722a7a0e5bbf815dbb2909f.tar.bz2
pcsx_rearmed-9c1517da3ec9533c8722a7a0e5bbf815dbb2909f.zip
dfinput: return 0xff when the packet ends, like the real thing does
Diffstat (limited to 'plugins/dfinput')
-rw-r--r--plugins/dfinput/pad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dfinput/pad.c b/plugins/dfinput/pad.c
index b01340a..9a09563 100644
--- a/plugins/dfinput/pad.c
+++ b/plugins/dfinput/pad.c
@@ -223,7 +223,7 @@ static unsigned char PADpoll_(unsigned char value) {
do_cmd2(value);
if (CurByte >= CmdLen)
- return 0;
+ return 0xff; // verified
return buf[CurByte++];
}