Skip to content

Commit

Permalink
fix #80
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoconlechuga committed Nov 22, 2018
1 parent d005015 commit 5469d04
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/hooks.asm
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ hook_home:
pop bc
pop af
cp a,ti.cxError
jp z,return_basic
jr z,.return_cesium_app
cp a,ti.cxPrgmInput
jp z,return_basic
jr z,.return_cesium_app
ld hl,backup_home_hook_location
ld a,(hl)
or a,a
Expand All @@ -256,6 +256,9 @@ hook_home:
set appWantHome,(iy + sysHookFlg)
pop bc
ret
.return_cesium_app:
cesium_code.copy
jp return_basic
.save:
xor a,a
sbc hl,hl
Expand Down

0 comments on commit 5469d04

Please sign in to comment.