aboutsummaryrefslogtreecommitdiff
path: root/backends/wince/pocketpc.cpp
diff options
context:
space:
mode:
authorNicolas Bacca2003-07-08 22:44:45 +0000
committerNicolas Bacca2003-07-08 22:44:45 +0000
commit61ab6933c55591d76dc5c1775f2dd6db5c62de2c (patch)
tree9b94ad75ed1380c0688a8b08e35177c4fd643ac9 /backends/wince/pocketpc.cpp
parent4fb3e9a448cb30e89e1de0e49bb83d32ef27c62d (diff)
downloadscummvm-rg350-61ab6933c55591d76dc5c1775f2dd6db5c62de2c.tar.gz
scummvm-rg350-61ab6933c55591d76dc5c1775f2dd6db5c62de2c.tar.bz2
scummvm-rg350-61ab6933c55591d76dc5c1775f2dd6db5c62de2c.zip
Update to new virtual functions, protected members and so on, take one
svn-id: r8870
Diffstat (limited to 'backends/wince/pocketpc.cpp')
-rw-r--r--backends/wince/pocketpc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/wince/pocketpc.cpp b/backends/wince/pocketpc.cpp
index 0048c2b8da..967af9f334 100644
--- a/backends/wince/pocketpc.cpp
+++ b/backends/wince/pocketpc.cpp
@@ -223,7 +223,7 @@ BOOL PPCWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, OSystem_W
if (g_scumm->_features & GF_OLD256 || g_scumm->_gameId == GID_CMI)
wm->_event.kbd.ascii = 319;
else
- wm->_event.kbd.ascii = g_scumm->_vars[g_scumm->VAR_SAVELOADDIALOG_KEY];
+ wm->_event.kbd.ascii = g_scumm->VAR_SAVELOADDIALOG_KEY;
break;
case ToolbarMode:
SetScreenMode(!GetScreenMode());
@@ -235,7 +235,7 @@ BOOL PPCWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, OSystem_W
if (is_demo)
do_quit();
if (is_simon) {
- ((SimonEngine*)engine)->_exit_cutscene = true;
+ wm->_event.kbd.ascii = mapKey(VK_ESCAPE);
break;
}
wm->_event.event_code = OSystem::EVENT_KEYDOWN;
@@ -243,7 +243,7 @@ BOOL PPCWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, OSystem_W
wm->_event.kbd.ascii = g_scumm->_vars[g_scumm->VAR_CUTSCENEEXIT_KEY];
else
if (g_scumm->_talkDelay > 0)
- wm->_event.kbd.ascii = g_scumm->_vars[g_scumm->VAR_TALKSTOP_KEY];
+ wm->_event.kbd.ascii = g_scumm->VAR_TALKSTOP_KEY;
else
wm->_event.kbd.ascii = mapKey(VK_ESCAPE);
break;