aboutsummaryrefslogtreecommitdiff
path: root/common/system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/system.cpp')
-rw-r--r--common/system.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/common/system.cpp b/common/system.cpp
index c2bf42ebbe..da7bded979 100644
--- a/common/system.cpp
+++ b/common/system.cpp
@@ -52,8 +52,14 @@ OSystem *OSystem::makeInstance() {
return OSystem_WINCE3_create();
#elif defined(__GP32__) // ph0x
return OSystem_GP32_create();
-#elif defined(__PALM_OS__) //chrilith
- return OSystem_PALMOS_create();
+#elif defined(PALMOS_MODE) //chrilith
+# if defined(COMPILE_OS5)
+ return OSystem_PalmOS5_create();
+# elif defined(COMPILE_ZODIAC)
+ return OSystem_PalmZodiac_create();
+# else
+ return OSystem_PALMOS_create(); // old backend
+# endif
#elif defined(__PLAYSTATION2__)
return OSystem_PS2_create();
#elif defined(__PSP__)