Skip to content

Commit

Permalink
Update emulator.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zHoeshin authored Dec 26, 2023
1 parent 6fa661b commit ce92378
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions emulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ class Screen{
rawdata.push(this.imgdata[c + 2 + i] & clr[2])
rawdata.push(this.imgdata[c + 3 + i] & clr[3])
}
console.log(c, cond, rawdata);
let imgdatanew = new ImageData(new Uint8ClampedArray(rawdata), this.img.width / 16, this.img.height / 16)
this.tctx.putImageData(imgdatanew, 0, 0)

Expand Down

0 comments on commit ce92378

Please sign in to comment.