aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/ps3/ps3-main.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2019-11-03 19:14:15 +0100
committerBastien Bouclet2019-11-03 19:14:15 +0100
commit0b74f984de1847e7b76e83592486fc7154f78c85 (patch)
tree174280684cd49d86daf49967010319c8ff4fc21e /backends/platform/sdl/ps3/ps3-main.cpp
parent036d61cbd62dc7907f4eeb36764bef9f794588f4 (diff)
downloadscummvm-rg350-0b74f984de1847e7b76e83592486fc7154f78c85.tar.gz
scummvm-rg350-0b74f984de1847e7b76e83592486fc7154f78c85.tar.bz2
scummvm-rg350-0b74f984de1847e7b76e83592486fc7154f78c85.zip
PS3: Implement the cloud synchronization features
Diffstat (limited to 'backends/platform/sdl/ps3/ps3-main.cpp')
-rw-r--r--backends/platform/sdl/ps3/ps3-main.cpp11
1 files changed, 11 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;
}