diff options
author | Chris Apers | 2006-02-26 15:21:21 +0000 |
---|---|---|
committer | Chris Apers | 2006-02-26 15:21:21 +0000 |
commit | d6170c87c46e7f622918e769ae2edacb792ab538 (patch) | |
tree | 7f9a5cc253d12b6019bfad9a801270bcf6806abb /backends/PalmOS/Src | |
parent | cd34af1149b653f68ff524f601a50827399872b6 (diff) | |
download | scummvm-rg350-d6170c87c46e7f622918e769ae2edacb792ab538.tar.gz scummvm-rg350-d6170c87c46e7f622918e769ae2edacb792ab538.tar.bz2 scummvm-rg350-d6170c87c46e7f622918e769ae2edacb792ab538.zip |
Use the correct function depending on the version
svn-id: r20917
Diffstat (limited to 'backends/PalmOS/Src')
-rw-r--r-- | backends/PalmOS/Src/missing/ext_stdlib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/PalmOS/Src/missing/ext_stdlib.c b/backends/PalmOS/Src/missing/ext_stdlib.c index 11a242145a..d1d0ce61af 100644 --- a/backends/PalmOS/Src/missing/ext_stdlib.c +++ b/backends/PalmOS/Src/missing/ext_stdlib.c @@ -115,16 +115,16 @@ ErrJumpBuf stdlib_errJumpBuf; #define ERR_MAGIC 0xDADA void exit(Int16 status) { -#if (defined(PALMOS_ARM) && defined(COMPILE_ZODIAC)) - SysEventType event; - event.eType = sysEventKeyDownEvent; -#else EventType event; event.eType = keyDownEvent; -#endif + event.data.keyDown.chr = vchrLaunch; event.data.keyDown.modifiers = commandKeyMask; +#ifdef PALMOS_ARM + SysEventAddUniqueToQueue(&event, 0, true); +#else EvtAddUniqueEventToQueue(&event, 0, true); +#endif ErrLongJump(stdlib_errJumpBuf, status == 0 ? 0xDADA : status); } |