Skip to content
Permalink
Browse files

PS3: Implement the cloud synchronization features

(cherry picked from commit 0b74f98)
  • Loading branch information...
bgK committed Nov 3, 2019
1 parent c159f7e commit 6e8f7a81193400fef4bf54a53748636884f69f71
Showing with 18 additions and 0 deletions.
  1. +11 −0 backends/platform/sdl/ps3/ps3-main.cpp
  2. +3 −0 backends/platform/sdl/ps3/ps3.mk
  3. +4 −0 dists/ps3/readme-ps3.md
@@ -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;
}
@@ -14,6 +14,9 @@ ifdef DIST_FILES_NETWORKING
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/
@@ -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

0 comments on commit 6e8f7a8

Please sign in to comment.
You can’t perform that action at this time.