Skip to content

Instantly share code, notes, and snippets.

@jacobly0
Created November 2, 2023 10:05
Show Gist options
  • Save jacobly0/ce48bb809a6a09a19077fe14945db388 to your computer and use it in GitHub Desktop.
Save jacobly0/ce48bb809a6a09a19077fe14945db388 to your computer and use it in GitHub Desktop.
@@ -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