aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorChris Apers2003-05-19 11:06:16 +0000
committerChris Apers2003-05-19 11:06:16 +0000
commit8f2c1e203c6b52ed03753b783b6eab80e460b2d9 (patch)
tree1cbb176a94b9cd2d1dd731abc2800e55696654b7 /backends
parentf0d9aebe17416b035a621b7de9de5d15e86b8b61 (diff)
downloadscummvm-rg350-8f2c1e203c6b52ed03753b783b6eab80e460b2d9.tar.gz
scummvm-rg350-8f2c1e203c6b52ed03753b783b6eab80e460b2d9.tar.bz2
scummvm-rg350-8f2c1e203c6b52ed03753b783b6eab80e460b2d9.zip
Change 'exit' function
svn-id: r7687
Diffstat (limited to 'backends')
-rw-r--r--backends/PalmOS/Src/missing/_stdlib.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/PalmOS/Src/missing/_stdlib.cpp b/backends/PalmOS/Src/missing/_stdlib.cpp
index da6e91245e..f9ccb9493a 100644
--- a/backends/PalmOS/Src/missing/_stdlib.cpp
+++ b/backends/PalmOS/Src/missing/_stdlib.cpp
@@ -230,6 +230,8 @@ void exit(Int16 status)
{
// need to change this
EventType event;
- event.eType = appStopEvent;
+ event.eType = keyDownEvent;
+ event.data.keyDown.chr = vchrLaunch;
+ event.data.keyDown.modifiers = commandKeyMask;
EvtAddEventToQueue (&event);
} \ No newline at end of file