fix lint errors

master
Gordon Williams 2025-04-25 09:50:04 +01:00
parent 4b9fae3803
commit 053d17dd56
1 changed files with 0 additions and 11 deletions

View File

@ -488,7 +488,6 @@ const sintable = new Uint8Array(256);
const translation = new Uint32Array(10); const translation = new Uint32Array(10);
let bgColor = 0; let bgColor = 0;
const BLACK = g.setColor.bind(g, 0); const BLACK = g.setColor.bind(g, 0);
const WHITE = g.setColor.bind(g, 0xFFFF);
let lcdBuffer = 0; let lcdBuffer = 0;
let locked = false; let locked = false;
let charging = false; let charging = false;
@ -509,16 +508,6 @@ function setupInterval(force) {
} }
} }
function test(addr, y) {
BLACK().fillRect(0, y, 176, y);
if (peek8(addr)) return false;
WHITE().fillRect(0, y, 176, y);
let b = peek8(addr);
BLACK().fillRect(0, y, 176, y);
if (!b) return false;
return !peek8(addr);
}
function init() { function init() {
bgColor = g.theme.bg & 0x8410; bgColor = g.theme.bg & 0x8410;
bgColor = ((bgColor >> 15) | (bgColor >> 9) | (bgColor >> 2)); bgColor = ((bgColor >> 15) | (bgColor >> 9) | (bgColor >> 2));