fix lint errors
parent
4b9fae3803
commit
053d17dd56
|
|
@ -488,7 +488,6 @@ const sintable = new Uint8Array(256);
|
|||
const translation = new Uint32Array(10);
|
||||
let bgColor = 0;
|
||||
const BLACK = g.setColor.bind(g, 0);
|
||||
const WHITE = g.setColor.bind(g, 0xFFFF);
|
||||
let lcdBuffer = 0;
|
||||
let locked = 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() {
|
||||
bgColor = g.theme.bg & 0x8410;
|
||||
bgColor = ((bgColor >> 15) | (bgColor >> 9) | (bgColor >> 2));
|
||||
|
|
|
|||
Loading…
Reference in New Issue