diff options
author | Bertrand Augereau | 2011-11-20 21:26:18 +0100 |
---|---|---|
committer | Bertrand Augereau | 2011-11-20 21:26:18 +0100 |
commit | 6cab17c832d01bb7963040b99fcb9c4e546dd582 (patch) | |
tree | 749a8e60f1c13d8ec8a2e93c149a3c39c4ef77d8 /engines/dreamweb/monitor.cpp | |
parent | 57fc322992046e4a8fc1dd0b1969843430ad7795 (diff) | |
download | scummvm-rg350-6cab17c832d01bb7963040b99fcb9c4e546dd582.tar.gz scummvm-rg350-6cab17c832d01bb7963040b99fcb9c4e546dd582.tar.bz2 scummvm-rg350-6cab17c832d01bb7963040b99fcb9c4e546dd582.zip |
DREAMWEB: Accessor for kQuitrequested
Diffstat (limited to 'engines/dreamweb/monitor.cpp')
-rw-r--r-- | engines/dreamweb/monitor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/monitor.cpp b/engines/dreamweb/monitor.cpp index c09b7150b6..d0da5e3110 100644 --- a/engines/dreamweb/monitor.cpp +++ b/engines/dreamweb/monitor.cpp @@ -81,7 +81,7 @@ void DreamGenContext::usemon() { data.word(kMonadx) = di; data.word(kMonady) = bx; execcommand(); - if (data.byte(kQuitrequested)) //TODO : Check why it crashes when put before the execcommand + if (quitRequested()) //TODO : Check why it crashes when put before the execcommand break; } while (al == 0); getridoftemp(); @@ -117,7 +117,7 @@ void DreamGenContext::input() { vsync(); delcurs(); readkey(); - if (data.byte(kQuitrequested)) + if (quitRequested()) return; uint8 currentKey = data.byte(kCurrentkey); if (currentKey == 0) |