hah
This commit is contained in:
parent
765a683dda
commit
f261aa6908
2 changed files with 8 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -21,3 +21,5 @@ clean :
|
|||
rm -f sample[0-6].s
|
||||
rm -f sample[0-6].xex
|
||||
rm -f sample[0-6].png
|
||||
|
||||
.dummy: sample0.s sample1.s sample2.s sample3.s sample4.s sample5.s sample6.s
|
|
@ -668,7 +668,12 @@ function genAssembly(width, height, nbits, lines) {
|
|||
palette1[y] = lines[y].palette[1];
|
||||
palette2[y] = lines[y].palette[2];
|
||||
palette3[y] = lines[y].palette[3];
|
||||
indexedToBitmap(width, nbits, lines[y].output, framebuffer.slice(y * stride, (y + 1) * stride));
|
||||
indexedToBitmap(
|
||||
width,
|
||||
nbits,
|
||||
lines[y].output,
|
||||
framebuffer.subarray(y * stride, (y + 1) * stride)
|
||||
);
|
||||
}
|
||||
|
||||
return `.data
|
||||
|
|
Loading…
Reference in a new issue