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 5eca894
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/hooks.asm
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,10 @@ hook_home:
pop bc
pop af
cp a,ti.cxError
jr z,.return_cesium_app
jp z,return_basic
cp a,ti.cxPrgmInput
jp z,return_basic
jp z,.return_cesium_app
ld hl,backup_home_hook_location
ld a,(hl)
or a,a
Expand All @@ -256,6 +257,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 5eca894

Please sign in to comment.