diff options
-rw-r--r-- | backends/platform/wince/CEActionsPocket.cpp | 4 | ||||
-rw-r--r-- | backends/platform/wince/CEActionsSmartphone.cpp | 4 | ||||
-rw-r--r-- | backends/platform/wince/wince-sdl.cpp | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/backends/platform/wince/CEActionsPocket.cpp b/backends/platform/wince/CEActionsPocket.cpp index 5508998ff8..a264a52c58 100644 --- a/backends/platform/wince/CEActionsPocket.cpp +++ b/backends/platform/wince/CEActionsPocket.cpp @@ -129,6 +129,7 @@ void CEActionsPocket::initInstanceGame() { bool is_fw = (gameid == "fw"); bool is_os = (gameid == "os"); bool is_touche = (gameid == "touche"); + bool is_agi = (gameid == "agi"); GUI_Actions::initInstanceGame(); @@ -156,6 +157,9 @@ void CEActionsPocket::initInstanceGame() { } else if (is_fw || is_os) { _action_enabled[POCKET_ACTION_SAVE] = true; _key_action[POCKET_ACTION_SAVE].setAscii(291); // F10 + } else if (is_agi) { + _action_enabled[POCKET_ACTION_SAVE] = true; + _key_action[POCKET_ACTION_SAVE].setAscii(SDLK_ESCAPE); } else { _action_enabled[POCKET_ACTION_SAVE] = true; _key_action[POCKET_ACTION_SAVE].setAscii(319); // F5 key diff --git a/backends/platform/wince/CEActionsSmartphone.cpp b/backends/platform/wince/CEActionsSmartphone.cpp index b1ef76cba4..0e761a55c5 100644 --- a/backends/platform/wince/CEActionsSmartphone.cpp +++ b/backends/platform/wince/CEActionsSmartphone.cpp @@ -132,6 +132,7 @@ void CEActionsSmartphone::initInstanceGame() { bool is_fw = (gameid == "fw"); bool is_os = (gameid == "os"); bool is_touche = (gameid == "touche"); + bool is_agi = (gameid == "agi"); GUI_Actions::initInstanceGame(); @@ -152,6 +153,9 @@ void CEActionsSmartphone::initInstanceGame() { } else if (is_fw || is_os) { _action_enabled[SMARTPHONE_ACTION_SAVE] = true; _key_action[SMARTPHONE_ACTION_SAVE].setAscii(291); //F10 + } else if (is_agi) { + _action_enabled[SMARTPHONE_ACTION_SAVE] = true; + _key_action[SMARTPHONE_ACTION_SAVE].setAscii(SDLK_ESCAPE); } else { _action_enabled[SMARTPHONE_ACTION_SAVE] = true; _key_action[SMARTPHONE_ACTION_SAVE].setAscii(319); // F5 key diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp index ca78329b5e..e77f7fa0fb 100644 --- a/backends/platform/wince/wince-sdl.cpp +++ b/backends/platform/wince/wince-sdl.cpp @@ -680,7 +680,7 @@ void OSystem_WINCE3::get_sample_rate() { } } // See if the output frequency is forced by the game - if (gameid == "ft" || gameid == "dig" || gameid == "comi" || gameid == "queen" || gameid == "sword") + if (gameid == "ft" || gameid == "dig" || gameid == "comi" || gameid == "queen" || gameid == "sword" || gameid == "agi") _sampleRate = SAMPLES_PER_SEC_NEW; else { if (ConfMan.hasKey("high_sample_rate") && ConfMan.getBool("high_sample_rate")) |