From: notaz Date: Tue, 14 Jun 2011 15:55:39 +0000 (+0300) Subject: dfinput: return 0xff when the packet ends, like the real thing does X-Git-Tag: r9~84 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=9c1517da3ec9533c8722a7a0e5bbf815dbb2909f;hp=ab948f7e6d437dddd070000f36489d7e983eb4ad dfinput: return 0xff when the packet ends, like the real thing does --- diff --git a/plugins/dfinput/pad.c b/plugins/dfinput/pad.c index b01340ab..9a09563f 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++]; }