aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostas Nakos2006-07-23 09:36:34 +0000
committerKostas Nakos2006-07-23 09:36:34 +0000
commit1ec5d56780078416c49479341103939e6a6bba41 (patch)
tree33933a142c32a054d516ff9098620b4923ce9a21
parent5cb880269950844d041ab22ad1ed009a75acfb67 (diff)
downloadscummvm-rg350-1ec5d56780078416c49479341103939e6a6bba41.tar.gz
scummvm-rg350-1ec5d56780078416c49479341103939e6a6bba41.tar.bz2
scummvm-rg350-1ec5d56780078416c49479341103939e6a6bba41.zip
Add kyra skip intro key (backport).
svn-id: r23577
-rw-r--r--backends/platform/wince/CEActionsSmartphone.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/wince/CEActionsSmartphone.cpp b/backends/platform/wince/CEActionsSmartphone.cpp
index 4ee4963f66..306d72f52b 100644
--- a/backends/platform/wince/CEActionsSmartphone.cpp
+++ b/backends/platform/wince/CEActionsSmartphone.cpp
@@ -124,6 +124,7 @@ void CEActionsSmartphone::initInstanceGame() {
bool is_gob = (strncmp(gameid.c_str(), "gob", 3) == 0);
bool is_ite = ((strncmp(gameid.c_str(), "ite", 3) == 0) ||
(strncmp(gameid.c_str(), "ihnm", 4) == 0));
+ bool is_kyra = (gameid == "kyra1");
GUI_Actions::initInstanceGame();
@@ -151,7 +152,7 @@ void CEActionsSmartphone::initInstanceGame() {
}
// Skip
_action_enabled[SMARTPHONE_ACTION_SKIP] = true;
- if (is_simon || is_sky || is_gob || is_ite)
+ if (is_simon || is_sky || is_gob || is_ite || is_kyra)
_key_action[SMARTPHONE_ACTION_SKIP].setAscii(VK_ESCAPE);
else
_key_action[SMARTPHONE_ACTION_SKIP].setAscii(KEY_ALL_SKIP);