aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/worldofxeen/worldofxeen_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/worldofxeen/worldofxeen_menu.cpp')
-rw-r--r--engines/xeen/worldofxeen/worldofxeen_menu.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/xeen/worldofxeen/worldofxeen_menu.cpp b/engines/xeen/worldofxeen/worldofxeen_menu.cpp
index 3b8f9651b2..d3f273784b 100644
--- a/engines/xeen/worldofxeen/worldofxeen_menu.cpp
+++ b/engines/xeen/worldofxeen/worldofxeen_menu.cpp
@@ -66,10 +66,11 @@ void WorldOfXeenMenu::execute() {
bool firstTime = true, doFade = true;
while (!_vm->shouldQuit()) {
setBackground(doFade);
- events.setCursor(0);
if (firstTime) {
firstTime = false;
+ events.setCursor(0);
+ events.showCursor();
warning("TODO: Read existing save file");
}
@@ -219,11 +220,11 @@ void WorldOptionsMenu::showContents(SpriteResource &title1, bool waitFlag) {
screen._windows[GAME_WINDOW].writeString(Res.OPTIONS_TITLE);
drawButtons(&screen._windows[0]);
+ screen.update();
if (waitFlag) {
- screen._windows[0].update();
-
while (!_vm->shouldQuit() && !_buttonValue && events.timeElapsed() < 3) {
+ events.pollEventsAndWait();
checkEvents(_vm);
}
}