From 0b74f984de1847e7b76e83592486fc7154f78c85 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sun, 3 Nov 2019 19:14:15 +0100 Subject: PS3: Implement the cloud synchronization features --- backends/platform/sdl/ps3/ps3-main.cpp | 11 +++++++++++ backends/platform/sdl/ps3/ps3.mk | 3 +++ 2 files changed, 14 insertions(+) (limited to 'backends/platform/sdl') 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 + 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 @@ -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/ -- cgit v1.2.3