Permalink
Browse files

Hexed some numbers that shouldn't've been hexed

  • Loading branch information...
barryvan committed Jan 8, 2012
1 parent 71264e3 commit 016bb9dcc614ea6d810e0f27fa5860110c8ff904
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/mptm.js
View
@@ -235,8 +235,8 @@ barryvan.tp.Reader = new Class({
continue;
}
- channel = (channelVariable - 1) & 0x63;
- if (channelVariable & 0x128) {
+ channel = (channelVariable - 1) & 63;
+ if (channelVariable & 128) {
maskVariable[channel] = this._dataview.getUint8(offset);
offset += 1;
}

0 comments on commit 016bb9d

Please sign in to comment.