aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/sdl/ps3/ps3-main.cpp11
-rw-r--r--backends/platform/sdl/ps3/ps3.mk3
-rw-r--r--dists/ps3/readme-ps3.md4
3 files changed, 18 insertions, 0 deletions
diff --git a/backends/platform/sdl/ps3/ps3-main.cpp b/backends/platform/sdl/ps3/ps3-main.cpp
index 2777497293..23dc740202 100644
--- a/backends/platform/sdl/ps3/ps3-main.cpp
+++ b/backends/platform/sdl/ps3/ps3-main.cpp
@@ -20,14 +20,21 @@
*
*/
+#define FORBIDDEN_SYMBOL_ALLOW_ALL
#include "common/scummsys.h"
#include "backends/platform/sdl/ps3/ps3.h"
#include "backends/plugins/sdl/sdl-provider.h"
#include "base/main.h"
+#include <net/net.h>
+
int main(int argc, char *argv[]) {
+#ifdef USE_LIBCURL
+ netInitialize();
+#endif
+
// Create our OSystem instance
g_system = new OSystem_PS3();
assert(g_system);
@@ -45,5 +52,9 @@ int main(int argc, char *argv[]) {
// Free OSystem
g_system->destroy();
+#ifdef USE_LIBCURL
+ netDeinitialize();
+#endif
+
return res;
}
diff --git a/backends/platform/sdl/ps3/ps3.mk b/backends/platform/sdl/ps3/ps3.mk
index d66028103a..94885d270c 100644
--- a/backends/platform/sdl/ps3/ps3.mk
+++ b/backends/platform/sdl/ps3/ps3.mk
@@ -15,6 +15,9 @@ endif
ifdef DIST_FILES_VKEYBD
cp $(DIST_FILES_VKEYBD) ps3pkg/USRDIR/data/
endif
+ifdef DIST_PS3_EXTRA_FILES
+ @cp -a $(DIST_PS3_EXTRA_FILES) ps3pkg/USRDIR/data/
+endif
cp $(DIST_FILES_DOCS) ps3pkg/USRDIR/doc/
cp $(srcdir)/dists/ps3/readme-ps3.md ps3pkg/USRDIR/doc/
cp $(srcdir)/dists/ps3/ICON0.PNG ps3pkg/
diff --git a/dists/ps3/readme-ps3.md b/dists/ps3/readme-ps3.md
index 698c9259cd..e4d39df450 100644
--- a/dists/ps3/readme-ps3.md
+++ b/dists/ps3/readme-ps3.md
@@ -51,6 +51,10 @@ The dependencies needed to build it are :
- SDL from https://bitbucket.org/bgK/sdl_psl1ght
- ScummVM from https://github.com/scummvm/scummvm
+ScummVM doesn't provide the CA certificates bundle required by the cloud synchronization features.
+It can be downloaded from the curl website: https://curl.haxx.se/ca/cacert.pem, and packaged in the binary using:
+```$ export DIST_PS3_EXTRA_FILES=/path/to/cacert.pem```
+
Once all the dependencies are correctly setup, an installable package can be obtained from source by issuing the following command :
./configure --host=ps3 && make ps3pkg