aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/preagi_common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/preagi_common.cpp')
-rw-r--r--engines/agi/preagi_common.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/agi/preagi_common.cpp b/engines/agi/preagi_common.cpp
index 20159dcb71..c04315652d 100644
--- a/engines/agi/preagi_common.cpp
+++ b/engines/agi/preagi_common.cpp
@@ -42,6 +42,11 @@
namespace Agi {
+// Screen functions
+void PreAgiEngine::clearScreen(int attr) {
+ _gfx->clearScreen((attr & 0xF0) / 0x10);
+}
+
// String functions
void PreAgiEngine::drawStr(int row, int col, int attr, const char *buffer) {