aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/PalmOS/Src/forms/formSystem.cpp2
-rw-r--r--backends/PalmOS/Src/start.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/backends/PalmOS/Src/forms/formSystem.cpp b/backends/PalmOS/Src/forms/formSystem.cpp
index 5b40f08e39..1e94a311b8 100644
--- a/backends/PalmOS/Src/forms/formSystem.cpp
+++ b/backends/PalmOS/Src/forms/formSystem.cpp
@@ -21,7 +21,7 @@ static UInt32 GetStackSize() {
return ((Char *)endPP - (Char *)startPP) / 1024L;
}
-static void GetMemory(UInt32* storageMemoryP, UInt32* dynamicMemoryP, UInt32 *storageFreeP, UInt32 *dynamicFreeP) {
+void GetMemory(UInt32* storageMemoryP, UInt32* dynamicMemoryP, UInt32 *storageFreeP, UInt32 *dynamicFreeP) {
UInt32 free, max;
Int16 i;
diff --git a/backends/PalmOS/Src/start.h b/backends/PalmOS/Src/start.h
index 782dc36ff2..3559371c5d 100644
--- a/backends/PalmOS/Src/start.h
+++ b/backends/PalmOS/Src/start.h
@@ -92,7 +92,7 @@ extern GlobalsPreferencePtr gPrefs;
#define appPrefVersionNum 0x01
#define STACK_DEFAULT 8192
-#define STACK_LARGER 16384
+#define STACK_LARGER 11264
#define STACK_GET 0
Err AppStart(void);
@@ -100,6 +100,7 @@ void AppStop(void);
Boolean CheckVibratorExists();
Boolean StartScummVM();
void PINGetScreenDimensions();
+void GetMemory(UInt32* storageMemoryP, UInt32* dynamicMemoryP, UInt32 *storageFreeP, UInt32 *dynamicFreeP);
void WinScreenGetPitch();
void SavePrefs();
Err SendDatabase (UInt16 cardNo, LocalID dbID, Char *nameP, Char *descriptionP);