Skip to content

Commit

Permalink
correcting a faulty mask which was allowing jump0 to resemble an unco…
Browse files Browse the repository at this point in the history
…nditional jump.
  • Loading branch information
JohnEarnest committed Oct 21, 2015
1 parent 4a9f458 commit 6c7ed07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/decompiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ function formatProgram(programSize) {
// must be a backref
if (u < a) { continue; }
// must be an unconditional jump
if ((program[u] & 0x10) != 0x10) { continue; }
if ((program[u] & 0xF0) != 0x10) { continue; }
// must be in a contiguous forward block
var foundBreak = false;
for(var scan = a; scan <= u; scan += 2) {
Expand Down

0 comments on commit 6c7ed07

Please sign in to comment.