aboutsummaryrefslogtreecommitdiff
path: root/sword2/startup.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-10-15 06:40:31 +0000
committerTorbjörn Andersson2003-10-15 06:40:31 +0000
commit8b42d65a7e922a9b9241ebe509968331fe958fb6 (patch)
tree5dcef554baa412cf676beb11c453d54957ecaa8c /sword2/startup.cpp
parentf74a0c18aa2ef244f987c31d3d146207c72e81ee (diff)
downloadscummvm-rg350-8b42d65a7e922a9b9241ebe509968331fe958fb6.tar.gz
scummvm-rg350-8b42d65a7e922a9b9241ebe509968331fe958fb6.tar.bz2
scummvm-rg350-8b42d65a7e922a9b9241ebe509968331fe958fb6.zip
Dumped most of the remaining "driver" code into a new "Display" class. This
touches a lot of the code, of course, and adds yet another global variable (temporarily, I hope), but everything still seems to work. Knock on wood. svn-id: r10806
Diffstat (limited to 'sword2/startup.cpp')
-rw-r--r--sword2/startup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/startup.cpp b/sword2/startup.cpp
index bf9eb31b51..1e32086529 100644
--- a/sword2/startup.cpp
+++ b/sword2/startup.cpp
@@ -196,8 +196,8 @@ uint32 Con_print_start_menu(void) {
do {
// Service windows
- ServiceWindows();
- } while(!KeyWaiting());
+ g_display->updateDisplay();
+ } while (!KeyWaiting());
// kill the key we just pressed
ReadKey(&ke);