aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/blue_force
diff options
context:
space:
mode:
authorPaul Gilbert2011-12-18 18:08:45 +1100
committerPaul Gilbert2011-12-18 18:08:45 +1100
commitf69dfba21a5d4be8cc60a20a0dd0628717fa5373 (patch)
tree3665e7294b4729d81dbb66e677de365ea11fcd53 /engines/tsage/blue_force
parent9818def85b7ede9635a918e3635b521de7e996b2 (diff)
downloadscummvm-rg350-f69dfba21a5d4be8cc60a20a0dd0628717fa5373.tar.gz
scummvm-rg350-f69dfba21a5d4be8cc60a20a0dd0628717fa5373.tar.bz2
scummvm-rg350-f69dfba21a5d4be8cc60a20a0dd0628717fa5373.zip
TSAGE: Implemented dirty rect handling in the engine
This should help improve performance when scalers are being used.
Diffstat (limited to 'engines/tsage/blue_force')
-rw-r--r--engines/tsage/blue_force/blueforce_dialogs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/blue_force/blueforce_dialogs.cpp b/engines/tsage/blue_force/blueforce_dialogs.cpp
index b9b3ad6c22..6f294d263a 100644
--- a/engines/tsage/blue_force/blueforce_dialogs.cpp
+++ b/engines/tsage/blue_force/blueforce_dialogs.cpp
@@ -163,7 +163,7 @@ void RightClickDialog::execute() {
}
g_system->delayMillis(10);
- g_system->updateScreen();
+ GLOBALS._screenSurface.copyToScreen();
}
// Execute the specified action
@@ -243,7 +243,7 @@ void AmmoBeltDialog::execute() {
}
g_system->delayMillis(10);
- g_system->updateScreen();
+ GLOBALS._screenSurface.copyToScreen();
}
_gfxManager.deactivate();