aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-09-17 23:02:40 +0000
committerMax Horn2003-09-17 23:02:40 +0000
commit0eea7999ebbb7b2f580870f538dc7842c1a8d644 (patch)
tree4b18898d59c5771163d4a196958e25451955fcc5
parentc1a678afeb5100a99030bb51782e5de98d771997 (diff)
downloadscummvm-rg350-0eea7999ebbb7b2f580870f538dc7842c1a8d644.tar.gz
scummvm-rg350-0eea7999ebbb7b2f580870f538dc7842c1a8d644.tar.bz2
scummvm-rg350-0eea7999ebbb7b2f580870f538dc7842c1a8d644.zip
no need for this evil hackery; just always pretend 'F5' was pressed, the Scumm engine will do the work from then
svn-id: r10283
-rw-r--r--backends/wince/pocketpc.cpp8
-rw-r--r--backends/wince/smartphone.cpp8
2 files changed, 2 insertions, 14 deletions
diff --git a/backends/wince/pocketpc.cpp b/backends/wince/pocketpc.cpp
index 2676d62714..e39fe2a384 100644
--- a/backends/wince/pocketpc.cpp
+++ b/backends/wince/pocketpc.cpp
@@ -233,13 +233,7 @@ BOOL PPCWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, OSystem_W
if (is_bass)
wm->_event.kbd.ascii = 63;
else
- if (g_scumm->_version <= 2)
- wm->_event.kbd.ascii = 5;
- else
- if ((g_scumm->_features & GF_OLD256) || (g_scumm->_gameId == GID_CMI) || (g_scumm->_features & GF_16COLOR))
- wm->_event.kbd.ascii = 319;
- else
- wm->_event.kbd.ascii = g_scumm->VAR(g_scumm->VAR_SAVELOADDIALOG_KEY);
+ wm->_event.kbd.ascii = 319; // "F5" key; opens up the save menu in Scumm games
break;
case ToolbarMode:
SetScreenMode(!GetScreenMode());
diff --git a/backends/wince/smartphone.cpp b/backends/wince/smartphone.cpp
index 407f446ad1..55f08fff12 100644
--- a/backends/wince/smartphone.cpp
+++ b/backends/wince/smartphone.cpp
@@ -325,13 +325,7 @@ void SmartfonSave(OSystem_WINCE3 *wm, int repeat) {
if (is_bass)
wm->_event.kbd.ascii = 63;
else
- if (g_scumm->_version <= 2)
- wm->_event.kbd.ascii = 5;
- else
- if ((g_scumm->_features & GF_OLD256) || (g_scumm->_gameId == GID_CMI) || (g_scumm->_features & GF_16COLOR))
- wm->_event.kbd.ascii = 319;
- else
- wm->_event.kbd.ascii = g_scumm->VAR(g_scumm->VAR_SAVELOADDIALOG_KEY);
+ wm->_event.kbd.ascii = 319; // "F5" key; opens up the save menu in Scumm games
}
void SmartfonSkip(OSystem_WINCE3 *wm, int repeat) {