From 0eea7999ebbb7b2f580870f538dc7842c1a8d644 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 17 Sep 2003 23:02:40 +0000 Subject: no need for this evil hackery; just always pretend 'F5' was pressed, the Scumm engine will do the work from then svn-id: r10283 --- backends/wince/pocketpc.cpp | 8 +------- backends/wince/smartphone.cpp | 8 +------- 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) { -- cgit v1.2.3