Add vita tcp network support

This commit is contained in:
Ivan Epifanov 2021-10-20 16:18:31 +03:00 committed by Anders Jenbo
commit 8e6f511d6c
7 changed files with 84 additions and 1 deletions

View file

@ -6,6 +6,10 @@
#ifdef __3DS__
#include "platform/ctr/system.h"
#endif
#ifdef __vita__
#include "platform/vita/network.h"
#include "platform/vita/random.hpp"
#endif
#ifdef GPERF_HEAP_MAIN
#include <gperftools/heap-profiler.h>
#endif
@ -32,6 +36,10 @@ int main(int argc, char **argv)
#ifdef __3DS__
ctr_sys_init();
#endif
#ifdef __vita__
vita_enable_network();
randombytes_vitarandom_init();
#endif
#ifdef GPERF_HEAP_MAIN
HeapProfilerStart("main");
#endif