Add vita tcp network support
This commit is contained in:
parent
a62767bd1b
commit
8e6f511d6c
7 changed files with 84 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue