Skip to content

Commit

Permalink
Update emulator and Unicode disk image
Browse files Browse the repository at this point in the history
The Unicode disk image now uses a PNG width of 16384, avoiding a bug in
Firefox when decoding into a `<canvas>` element.
  • Loading branch information
schierlm committed Jan 20, 2024
1 parent d5dd0fc commit cef1d6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified UnicodeLFSDiskImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions webdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -1754,8 +1754,8 @@ function PNGImageReader(name) {
$proto._unpack = function(imageData, width, height) {
var contents = [];
// skip boot ROM
for (var i = 1; i < height; i++) {
var sectorWords = new Int32Array(width / 4);
for (var i = 1; i < width * height / 1024; i++) {
var sectorWords = new Int32Array(1024 / 4);
for (var j = 0; j < width / 4; j++) {
var b = i * 4096 + j * 16 + 2;
sectorWords[j] =
Expand Down

0 comments on commit cef1d6f

Please sign in to comment.