about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-10-11 21:02:41 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-10-11 21:02:41 -0700
commit2308b970661834484c1b59729e5f88b0f4bbcc51 (patch)
treef13b2a96020f9d7ffe6e2427384c2a38b3b20951
parentd6866ec35d5c0d0677df9d55bcdb16ce0d5c29f3 (diff)
downloadmu-2308b970661834484c1b59729e5f88b0f4bbcc51.tar.gz
bugfix: rendering fake screens
Not exercised anywhere except in the shell. I ran into it after running:

  (print screen 34)

Introduced in commit d2f96cb0b6c5 on Sep 1. This is the sort of thing I
currently don't know how to write tests for :/
-rw-r--r--103glyph.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/103glyph.subx b/103glyph.subx
index 3fef28b4..658b9183 100644
--- a/103glyph.subx
+++ b/103glyph.subx
@@ -66,7 +66,7 @@ draw-code-point-on-screen-array:  # screen-data: (addr array byte), c: code-poin
     8b/-> *(ebp+8) 0/r32/eax
     05/add-to-eax 4/imm32
     #
-    (draw-code-point-on-screen-buffer %eax *(ebp+0xc) *(ebp+0x10) *(ebp+0x14) *(ebp+0x18) *(ebp+0x1c) *(ebp+0x20) *(ebp+0x24))  # => eax
+    (draw-code-point-on-screen-buffer %eax *(ebp+0xc) *(ebp+0x10) *(ebp+0x14) *(ebp+0x18) *(ebp+0x1c) 1 *(ebp+0x20) *(ebp+0x24))  # => eax
 $draw-code-point-on-screen-array:end:
     # . restore registers
     5a/pop-to-edx