diff options
author | Vladimir Menshakov | 2011-06-18 12:59:55 +0400 |
---|---|---|
committer | Vladimir Menshakov | 2011-06-18 13:33:58 +0400 |
commit | 4cdc9c9f8e883bdb4864e6b2c0ef127bf0824e9a (patch) | |
tree | dbfc99dea9e44ebddff747e7e4845c1dd8a6515a /devtools/tasmrecover/dreamweb/dreamweb.asm | |
parent | 0d025153e0c5d53545b9e47555eb70a11be96b8f (diff) | |
download | scummvm-rg350-4cdc9c9f8e883bdb4864e6b2c0ef127bf0824e9a.tar.gz scummvm-rg350-4cdc9c9f8e883bdb4864e6b2c0ef127bf0824e9a.tar.bz2 scummvm-rg350-4cdc9c9f8e883bdb4864e6b2c0ef127bf0824e9a.zip |
DREAMWEB: implemented clean exit
Diffstat (limited to 'devtools/tasmrecover/dreamweb/dreamweb.asm')
-rw-r--r-- | devtools/tasmrecover/dreamweb/dreamweb.asm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devtools/tasmrecover/dreamweb/dreamweb.asm b/devtools/tasmrecover/dreamweb/dreamweb.asm index ea61338ae3..275d8208b0 100644 --- a/devtools/tasmrecover/dreamweb/dreamweb.asm +++ b/devtools/tasmrecover/dreamweb/dreamweb.asm @@ -195,6 +195,10 @@ alreadyloaded: mov newlocation,255 mov commandtype,255 mainloop: call screenupdate + cmp quitrequested, 0 + jz $1 + ret +$1: cmp wongame,0 jnz endofgame cmp mandead,1 @@ -6219,6 +6223,8 @@ savefiles db "DREAMWEB.D00",0 Recname db "DREAMWEB.DEM",0 +Quitrequested db 0 + ;-------------------------------------------------------End of code segment---- |