Created
November 2, 2023 10:05
-
-
Save jacobly0/ce48bb809a6a09a19077fe14945db388 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -222,7 +239,7 @@ srl_Open: | |
compare_hl_zero ; check if device is null | |
ld a,SRL_ERROR_INVALID_DEVICE | |
jq z,.exit | |
- ld (xsrl_device.dev),hl | |
+ lea hl,xsrl_device.dev | |
ld hl,(iy+12) ; hl = size | |
ld de,128 ; check if buffer is large enough |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment