瀏覽代碼

fixed chardim for the default font

Zeda Thomas 4 年之前
父節點
當前提交
99a0ce5adc
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/subroutines/chardim.z80

+ 4 - 2
src/subroutines/chardim.z80

@@ -5,13 +5,15 @@ chardim:
 ;Destroys: A
   ld b,a
   ld a,(textmode)
+  or a
+  jr z,grammer_small_size
   dec a
   jr z,var_width_size
   dec a
-  jr z,OS_large_size
-  dec a
   jr z,grammer_small_size
   dec a
+  jr z,OS_large_size
+  dec a
   jr z,OS_small_size
 OS_large_size:
   ld bc,$0608