Skip to content

Commit

Permalink
Merge pull request #45 from skx/44-clean-exit
Browse files Browse the repository at this point in the history
Correctly terminate the game cleanly on death/quit
  • Loading branch information
skx authored Apr 1, 2024
2 parents 8480360 + 8989f69 commit 92af95d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion game.z80
Original file line number Diff line number Diff line change
Expand Up @@ -668,9 +668,10 @@ play_again_yes:

; User chose "N" to "play again?"
play_again_no:
ld de, play_again_no
ld de, play_again_no_msg
call bios_output_string
IF SPECTRUM
pop de
ret
ELSE
ld c, 0x0
Expand Down

0 comments on commit 92af95d

Please sign in to comment.