aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorChris Apers2004-09-12 13:17:15 +0000
committerChris Apers2004-09-12 13:17:15 +0000
commitb4b5aa20a579ed666e9fe11237681574bb8d3a6b (patch)
treeeeb025e3e86b79b7d9e2ebe456253af4f8b23d26 /backends
parent9d0bee29340273ae1acd45317c9306787a245cd5 (diff)
downloadscummvm-rg350-b4b5aa20a579ed666e9fe11237681574bb8d3a6b.tar.gz
scummvm-rg350-b4b5aa20a579ed666e9fe11237681574bb8d3a6b.tar.bz2
scummvm-rg350-b4b5aa20a579ed666e9fe11237681574bb8d3a6b.zip
Feature memory init/cleanup
svn-id: r15052
Diffstat (limited to 'backends')
-rw-r--r--backends/PalmOS/Src/features.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/backends/PalmOS/Src/features.h b/backends/PalmOS/Src/features.h
new file mode 100644
index 0000000000..f82c7692fa
--- /dev/null
+++ b/backends/PalmOS/Src/features.h
@@ -0,0 +1,17 @@
+#ifndef __FEATURES_H__
+#define __FEATURES_H__
+
+enum {
+ ftrBufferOverlay = 1000,
+ ftrBufferBackup,
+ ftrBufferHotSwap
+};
+
+#define FREE_FTR(num) \
+ { \
+ UInt32 ptr; \
+ FtrGet(appFileCreator, num, &ptr); \
+ if (ptr) FtrPtrFree(appFileCreator, num); \
+ }
+
+#endif