aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/mouse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mortevielle/mouse.cpp')
-rw-r--r--engines/mortevielle/mouse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mortevielle/mouse.cpp b/engines/mortevielle/mouse.cpp
index 8ae863523d..1240fa4165 100644
--- a/engines/mortevielle/mouse.cpp
+++ b/engines/mortevielle/mouse.cpp
@@ -86,7 +86,7 @@ void hideMouse() {
if (mouse_shwn == 0) {
bool imp = odd(y_s);
int j = p_o_s;
- switch (g_currGraphicalDevice) {
+ switch (g_vm->_currGraphicalDevice) {
case MODE_CGA: {
int k = 0;
j = ((uint)y_s >> 1) * 80 + ((uint)x_s >> 2);
@@ -182,7 +182,7 @@ void showMouse() {
int j = p_o_s;
bool imp = odd(y_s);
int i = x_s & 7;
- switch (g_currGraphicalDevice) {
+ switch (g_vm->_currGraphicalDevice) {
case MODE_CGA:
k = 0;
j = ((uint)y_s >> 1) * 80 + ((uint)x_s >> 2);