This commit is contained in:
twinaphex 2016-05-02 19:04:03 +02:00
parent bb45bf9a66
commit 44cfa6d876
1 changed files with 1 additions and 6 deletions

View File

@ -214,11 +214,10 @@ int socket_create(
enum socket_type socket_type,
enum socket_protocol protocol_type)
{
#ifdef VITA
int type = 0;
int domain = 0;
int protocol = 0;
#ifdef VITA
switch (domain_type)
{
case SOCKET_DOMAIN_INET:
@ -254,10 +253,6 @@ int socket_create(
return sceNetSocket(name, domain, type, protocol);
#else
int type = 0;
int domain = 0;
int protocol = 0;
switch (domain_type)
{
case SOCKET_DOMAIN_INET: