aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/adl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/adl/adl.cpp')
-rw-r--r--engines/adl/adl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp
index e25af25e32..3ce3989212 100644
--- a/engines/adl/adl.cpp
+++ b/engines/adl/adl.cpp
@@ -161,12 +161,13 @@ Common::String AdlEngine::inputString(byte prompt) const {
}
}
-byte AdlEngine::inputKey() const {
+byte AdlEngine::inputKey(bool showCursor) const {
Common::EventManager *ev = g_system->getEventManager();
byte key = 0;
- _display->showCursor(true);
+ if (showCursor)
+ _display->showCursor(true);
while (!g_engine->shouldQuit() && !_isRestoring && key == 0) {
Common::Event event;