aboutsummaryrefslogtreecommitdiff
path: root/engines/bbvs/dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bbvs/dialogs.cpp')
-rw-r--r--engines/bbvs/dialogs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bbvs/dialogs.cpp b/engines/bbvs/dialogs.cpp
index 1609794c73..64fa86e1ee 100644
--- a/engines/bbvs/dialogs.cpp
+++ b/engines/bbvs/dialogs.cpp
@@ -95,8 +95,8 @@ void MainMenu::init() {
}
void MainMenu::reflowLayout() {
- const int screenW = g_system->getOverlayWidth();
- const int screenH = g_system->getOverlayHeight();
+ const int screenW = _vm->_system->getOverlayWidth();
+ const int screenH = _vm->_system->getOverlayHeight();
const int buttonWidth = screenW * 70 / 320;
const int buttonHeight = screenH * 14 / 240;