bugfix: rendering fake screens

Not exercised anywhere except in the shell. I ran into it after running:

  (print screen 34)

Introduced in commit d2f96cb0b6 on Sep 1. This is the sort of thing I
currently don't know how to write tests for :/
This commit is contained in:
Kartik K. Agaram 2021-10-11 21:02:41 -07:00
parent d6866ec35d
commit 2308b97066
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ draw-code-point-on-screen-array: # screen-data: (addr array byte), c: code-poin
8b/-> *(ebp+8) 0/r32/eax 8b/-> *(ebp+8) 0/r32/eax
05/add-to-eax 4/imm32 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: $draw-code-point-on-screen-array:end:
# . restore registers # . restore registers
5a/pop-to-edx 5a/pop-to-edx