From 52c88a3a17de89aaa805db6445ddd6044e8dfcf9 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Wed, 2 Dec 2009 15:16:02 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@38674 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/HIDInput/src/PlugPAD.c | 10 +++------- plugins/dfinput/pad.c | 10 +++------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/macosx/plugins/HIDInput/src/PlugPAD.c b/macosx/plugins/HIDInput/src/PlugPAD.c index 4b63a990..e6c58c30 100644 --- a/macosx/plugins/HIDInput/src/PlugPAD.c +++ b/macosx/plugins/HIDInput/src/PlugPAD.c @@ -236,13 +236,9 @@ long PADreadPort2(PadDataS *data) { return 0; } -static unsigned char stdpar[2][20] = { - {0xFF, 0x5A, 0xFF, 0xFF, 0x80, 0x80, 0x80, 0x80, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00}, - {0xFF, 0x5A, 0xFF, 0xFF, 0x80, 0x80, 0x80, 0x80, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00} +static unsigned char stdpar[2][8] = { + {0xFF, 0x5A, 0xFF, 0xFF, 0x80, 0x80, 0x80, 0x80}, + {0xFF, 0x5A, 0xFF, 0xFF, 0x80, 0x80, 0x80, 0x80} }; static unsigned char unk46[2][8] = { diff --git a/plugins/dfinput/pad.c b/plugins/dfinput/pad.c index 59068aa4..ca54ebca 100644 --- a/plugins/dfinput/pad.c +++ b/plugins/dfinput/pad.c @@ -127,13 +127,9 @@ static void UpdateInput(void) { #ifndef EPSXE -static uint8_t stdpar[2][20] = { - {0xFF, 0x5A, 0xFF, 0xFF, 0x80, 0x80, 0x80, 0x80, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00}, - {0xFF, 0x5A, 0xFF, 0xFF, 0x80, 0x80, 0x80, 0x80, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00} +static uint8_t stdpar[2][8] = { + {0xFF, 0x5A, 0xFF, 0xFF, 0x80, 0x80, 0x80, 0x80}, + {0xFF, 0x5A, 0xFF, 0xFF, 0x80, 0x80, 0x80, 0x80} }; static uint8_t unk46[2][8] = { -- cgit v1.2.3