Skip to content

Commit

Permalink
Update emulator.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zHoeshin authored Apr 9, 2024
1 parent 83c92a3 commit 9abe72a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions emulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,11 @@ function create(databus, addressbus, code, screenwidth, screenheight, screenwidt

pregs[PREGS.$FCOLOR] = getRGBAHex(255, 255, 255, 255)
pregs[PREGS.$BGCOLOR] = getRGBAHex(0, 0, 0, 255)

monitor
.width = screenwidth
.height = screenheight
.wchars = screenwidthchars
.hchars = screenheightchars

monitor.width = screenwidth
monitor.height = screenheight
monitor.wchars = screenwidthchars
monitor.hchars = screenheightchars

let nodeid = document.getElementById("screen")
nodeid.width = screenwidth
Expand Down

0 comments on commit 9abe72a

Please sign in to comment.