aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/gui/gui.cpp')
-rw-r--r--engines/sci/gui/gui.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp
index 5027c0df2c..d565d20c49 100644
--- a/engines/sci/gui/gui.cpp
+++ b/engines/sci/gui/gui.cpp
@@ -101,6 +101,14 @@ void SciGui::initPriorityBands() {
}
}
+void SciGui::modifyPriorityBands(int top, int bottom) {
+ if (_usesOldGfxFunctions) {
+ _gfx->PriorityBandsInit(15, top, bottom);
+ } else {
+ _gfx->PriorityBandsInit(14, top, bottom);
+ }
+}
+
void SciGui::wait(int16 ticks) {
uint32 time;