We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7b67f5 commit 9294665Copy full SHA for 9294665
src/graphx/graphx.asm
@@ -2803,20 +2803,15 @@ _PrintStringXY_Clip:
2803
; arg2 : Text Y Pos
2804
; Returns:
2805
; None
2806
- ld hl,3
2807
- add hl,sp
2808
- ld de,(hl)
2809
- push de
2810
- inc hl
2811
2812
+ ld iy,3
+ lea bc,iy
+ add iy,sp
+ lea hl,iy+3
2813
ld de,_TextXPos
2814
- ldi
2815
2816
- ldi ; copy in the y location
+ ldir ; copy in the y location
2817
ld hl,(hl)
2818
ld (_TextYPos),hl ; set new y pos
2819
- pop hl
+ ld hl,(iy)
2820
jr _DrawCharacters ; jump to the main string handler
2821
2822
;-------------------------------------------------------------------------------
0 commit comments