From 193a0c6ca1b00255fccd9668349ad05bae2348d7 Mon Sep 17 00:00:00 2001 From: Yotam Barnoy Date: Tue, 19 Oct 2010 16:17:45 +0000 Subject: [PATCH] PSP: disabling the ability to build Broken Sword 2.5. Revert once fixed. Lua is very problematic for the PSP build because it wants a) libpng built with the plugins which is not great, but not that bad. b) It calls several PSP functions directly, and it turns out PSP functions can only be called from the main executable -- they're in flash and must be fixed up using custom PSP utils. Until this mechanism is changed so that for example lua calls functions in the main executable, the PSP cannot be built. The following functions need to be removed/moved to the main executable: All socket functions (should be disabled anyway) Clock() Rename() Additionally, png functions should ideally also be called only from the main executable. svn-id: r53615 --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 5053884c512..0163c806e13 100755 --- a/configure +++ b/configure @@ -2397,6 +2397,11 @@ if test `get_engine_build sword25` = yes && test ! "$_png" = yes ; then engine_disable sword25 fi +if test `get_engine_build sword25` = yes && test "$_host" = psp ; then + echo "...disabling Broken Sword 2.5 engine as PSP currently can't build it" + engine_disable sword25 +fi + # # Check for Theora Decoder #