From 02cb3e51c7b9a73882fc9d52406e1e0990c9fd31 Mon Sep 17 00:00:00 2001 From: ian Date: Sat, 6 May 2006 17:29:04 +0000 Subject: [PATCH] bugfix --- hostside/skelproto-pic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostside/skelproto-pic.c b/hostside/skelproto-pic.c index ec67fb6..0808ba6 100644 --- a/hostside/skelproto-pic.c +++ b/hostside/skelproto-pic.c @@ -58,7 +58,7 @@ void picinsn_decode(const PicInsn *pi, const PicInsnInfo *table, if (pii->argbits <= 6) { if (pi->l != 1) pii= 0; } else { - if (pi->l == 2) { val <<= 8; val |= pi->d[1]; } + if (pi->l == 2) { val <<= 7; val |= pi->d[1]; } else pii= 0; } } -- 2.30.2