aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorChris Apers2006-09-17 09:27:33 +0000
committerChris Apers2006-09-17 09:27:33 +0000
commit1fe39e9b8007fadb270601a44ea0089cbfbe50aa (patch)
tree817203ff991927ebb52c20a47bb4aeccdf1ba8a3 /backends/platform
parent80bad5d0ffd5c585a0c02ee2eef4b71bacb1ab4e (diff)
downloadscummvm-rg350-1fe39e9b8007fadb270601a44ea0089cbfbe50aa.tar.gz
scummvm-rg350-1fe39e9b8007fadb270601a44ea0089cbfbe50aa.tar.bz2
scummvm-rg350-1fe39e9b8007fadb270601a44ea0089cbfbe50aa.zip
Cleanup, no need to export twGlue addr when compiling standard OS5 version
svn-id: r23901
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/PalmOS/Src/modules.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/backends/platform/PalmOS/Src/modules.cpp b/backends/platform/PalmOS/Src/modules.cpp
index 73c7c117bb..80efa28ba9 100644
--- a/backends/platform/PalmOS/Src/modules.cpp
+++ b/backends/platform/PalmOS/Src/modules.cpp
@@ -1,7 +1,4 @@
#include <PalmOS.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
#include "palmdefs.h"
#include "args.h"
@@ -32,8 +29,6 @@ GlobalsDataPtr gVars;
#ifdef COMPILE_ZODIAC
# include <tapwave.h>
# include <TwRuntime.h>
-#else
-# include <TwDefs.h>
#endif
void run(int argc, char *argv[]) {
@@ -58,12 +53,9 @@ void run(int argc, char *argv[]) {
NativeFuncType *entry;
TwLoadModule(0, 0, 0, 1, twLoadFlagTNA|twLoadFlagQuickRun, &entry);
#else
- UInt32 glue;
- FtrGet(twFtrCreator, twFtrAPIGlue, &glue);
-
PnoDescriptor pno;
PnoLoadFromResources(&pno, 'ARMC', 1, appFileCreator, 1);
- PnoCall(&pno, (void*)glue);
+ PnoCall(&pno, 0);
PnoUnload(&pno);
#endif