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.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp
index f466f80b24..5b43a6cd31 100644
--- a/engines/adl/adl.cpp
+++ b/engines/adl/adl.cpp
@@ -87,7 +87,7 @@ Common::Error AdlEngine::run() {
}
_display->setMode(DISPLAY_MODE_MIXED);
- printASCIIString("\r\r\r\r\r");
+ _display->printAsciiString("\r\r\r\r\r");
while (1) {
uint verb = 0, noun = 0;
@@ -119,7 +119,7 @@ Common::Error AdlEngine::run() {
// means that restoring a game will always run through
// the global commands and increase the move counter
// before the first user input.
- printASCIIString("\r");
+ _display->printAsciiString("\r");
_isRestoring = false;
verb = _restoreVerb;
noun = _restoreNoun;
@@ -889,16 +889,6 @@ void AdlEngine::getInput(uint &verb, uint &noun) {
}
}
-void AdlEngine::printASCIIString(const Common::String &str) const {
- Common::String aStr;
-
- Common::String::const_iterator it;
- for (it = str.begin(); it != str.end(); ++it)
- aStr += APPLECHAR(*it);
-
- _display->printString(aStr);
-}
-
Common::String AdlEngine::inputString(byte prompt) const {
Common::String s;