Skip to content

Commit

Permalink
Match code to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
beckadamtheinventor authored and adriweb committed Aug 10, 2020
1 parent fe2ac84 commit aede989
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/fileioc/fileioc.asm
Original file line number Diff line number Diff line change
Expand Up @@ -1417,15 +1417,15 @@ ti_SetGCBehavior:
or a,a
sbc hl,de
jr nz,.notdefault1
ld hl,util_pre_gc_default_handler
ld hl,util_post_gc_default_handler
.notdefault1:
ld (util_pre_gc_handler),hl
ld (util_post_gc_handler),hl
sbc hl,hl
adc hl,bc
jr nz,.notdefault2
ld hl,util_post_gc_default_handler
ld hl,util_pre_gc_default_handler
.notdefault2:
ld (util_post_gc_handler),hl
ld (util_pre_gc_handler),hl
ret
util_post_gc_default_handler := util_no_op
util_pre_gc_default_handler := util_no_op
Expand Down

0 comments on commit aede989

Please sign in to comment.