# HG changeset patch # User Matthew Wild # Date 1274617656 -3600 # Node ID 035aacc192d8995737f43b2bba8956c7d534349b # Parent bc58527bac34a171cf0cec33b8db00e1e46b9322 Fix off-by-one in calculating the value of sBx diff -r bc58527bac34 -r 035aacc192d8 lvm.js --- a/lvm.js Sun May 23 13:26:51 2010 +0100 +++ b/lvm.js Sun May 23 13:27:36 2010 +0100 @@ -251,7 +251,7 @@ function INS_sBx(ins) { - return INS_Bx(ins)+0x1FFFE; + return (INS_Bx(ins)-0x1FFFF); } function LFunction(chunk, env)