From c2bf18f3afec8733bb393df55e1620174c418657 Mon Sep 17 00:00:00 2001 From: dimok789 Date: Sun, 27 Nov 2016 22:48:44 +0100 Subject: [PATCH] fixed not working sendelf/wiiload support --- meta/meta.xml | 4 ++-- src/common/common.h | 2 +- src/main.cpp | 2 ++ src/utils/logger.c | 2 -- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/meta.xml b/meta/meta.xml index 7d03038..77c6379 100644 --- a/meta/meta.xml +++ b/meta/meta.xml @@ -2,8 +2,8 @@ Homebrew Launcher Dimok - 2.0 - 20161120210000 + 2.1 + 20161120270000 WiiU Homebrew Launcher Loads WiiU homebrew from SD card and from network. diff --git a/src/common/common.h b/src/common/common.h index fabbdd4..3d30d3f 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -7,7 +7,7 @@ extern "C" { #include "os_defs.h" -#define HBL_VERSION "v2.0" +#define HBL_VERSION "v2.1" #define HBL_VERSION_INT 200 #define CAFE_OS_SD_PATH "/vol/external01" diff --git a/src/main.cpp b/src/main.cpp index 9bcca2a..5ee296b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,4 @@ +#include #include "Application.h" #include "system/memory.h" #include "utils/logger.h" @@ -13,6 +14,7 @@ extern "C" int Menu_Main(void) //!******************************************************************* //! Initialize function pointers * //!******************************************************************* + socket_lib_init(); //! do OS (for acquire) and sockets first so we got logging log_init("192.168.178.3"); diff --git a/src/utils/logger.c b/src/utils/logger.c index ab09923..90f4497 100644 --- a/src/utils/logger.c +++ b/src/utils/logger.c @@ -14,8 +14,6 @@ static volatile int log_lock = 0; void log_init(const char * ipString) { - socket_lib_init(); - log_socket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); if (log_socket < 0) return;