File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -239,13 +239,6 @@ gfx_Begin:
239
239
; arg0: bpp mode to start in
240
240
; Returns:
241
241
; None
242
- ld hl , _LargeFontJump
243
- ld a , (hl)
244
- or a , a
245
- jr nz , .alreadyset
246
- ld (UseLargeFont) , a ; store the jump offset for later
247
- .alreadyset:
248
- ld (hl) , 0 ; jump nowhere if false
249
242
call _boot_ClearVRAM ; clear the screen
250
243
lcdGraphxMode := lcdWatermark + lcdIntFront + lcdPwr + lcdBgr + lcdBpp8
251
244
ld de , lcdGraphxMode
@@ -3020,8 +3013,7 @@ gfx_SetTextScale:
3020
3013
or a , a
3021
3014
ret z ; null check
3022
3015
ld (_TextHeightScale) , a
3023
- ld (hl) , 0 ; modified at boot to SM the jump
3024
- UseLargeFont := $ - 1
3016
+ ld (hl) , _PrintLargeFont - _PrintNormalFont
3025
3017
ret
3026
3018
.bothone:
3027
3019
ld (hl) , a ; store a 0, which means no (literal) jump
@@ -3110,7 +3102,7 @@ _TextYPos := $-3
3110
3102
smcByte _TextHeight
3111
3103
wait_quick
3112
3104
jr _PrintLargeFont ; SMC the jump
3113
- _LargeFontJump := $ - 1
3105
+ _PrintNormalFont:
3114
3106
. loop :
3115
3107
ld c , (hl) ; c = 8 pixels
3116
3108
add iy , de ; get draw location
You can’t perform that action at this time.
0 commit comments