Skip to content

Commit

Permalink
Allow turning the torch off.
Browse files Browse the repository at this point in the history
We had accidentally left a `pop hl` instruction in-place as
part of our state-update.  That meant turning the torch off
popped off the correct return-address, and gave us undefined
behaviour.
  • Loading branch information
skx committed Aug 11, 2022
1 parent 40406d9 commit b2f87d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion game.z80
Original file line number Diff line number Diff line change
Expand Up @@ -2485,7 +2485,6 @@ torch_was_on:
; show the message
ld de, TORCH_OFF_MSG
call bios_output_string
pop hl
ret


Expand Down

0 comments on commit b2f87d4

Please sign in to comment.