diff --git a/README.md b/README.md index 1e1d85d..bb2884d 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,9 @@ No. Both projects are fundamentally different. # How do I compile? Just like described [here](https://github.com/dimok789/homebrew_launcher/blob/master/README.md#building-the-homebrew-launcher). +Also note that you need `devkitPro r27` and not the latest version. Older versions like `r27` can be downloaded from [here](https://sourceforge.net/projects/devkitpro/files/devkitPPC/). +Furthermore, you need to `make install` [`iosuhax`](https://github.com/dimok789/libiosuhax) since it is a dependency as well. + # Credits **dimok** for Homebrew Launcher project engine/base **BullyWiiPlaza** for further development of advanced/efficient features diff --git a/src/fs/fs_utils.c b/src/fs/fs_utils.c index 7bf1fd4..81f49f5 100644 --- a/src/fs/fs_utils.c +++ b/src/fs/fs_utils.c @@ -6,6 +6,7 @@ #include "common/fs_defs.h" #include "../common/fs_defs.h" #include "../dynamic_libs/fs_functions.h" +#include "../utils/logger.h" int MountFS(void *pClient, void *pCmd, char **mount_path) { int result = -1; diff --git a/src/tcp_gecko.cpp b/src/tcp_gecko.cpp index 24668c1..64a0778 100644 --- a/src/tcp_gecko.cpp +++ b/src/tcp_gecko.cpp @@ -81,9 +81,9 @@ struct pygecko_bss_t { #define COMMAND_CLEAR_ASSEMBLY 0xE2 #define CHECK_ERROR(cond) if (cond) { bss->line = __LINE__; goto error; } -// #define errno (*__gh_errno_ptr()) +#define errno (*__gh_errno_ptr()) #define MSG_DONT_WAIT 32 -// #define EWOULDBLOCK 6 +#define EWOULDBLOCK 6 // #define WRITE_SCREEN_MESSAGE_BUFFER_SIZE 100 #define SERVER_VERSION "06/03/2017" #define ONLY_ZEROS_READ 0xB0 diff --git a/src/utils/StringTools.cpp b/src/utils/StringTools.cpp index debb6c7..1c2bcb5 100644 --- a/src/utils/StringTools.cpp +++ b/src/utils/StringTools.cpp @@ -32,7 +32,7 @@ #include #include -const char * fmt(const char * format, ...) +/*const char * fmt(const char * format, ...) { static char strChar[512]; strChar[0] = 0; @@ -204,4 +204,4 @@ std::vector stringSplit(const std::string & inValue, const std::str value = value.substr(index + splitter.size(), value.length()); } return result; -} +}*/ \ No newline at end of file diff --git a/tcpgecko.elf b/tcpgecko.elf index 47e911d..f4d0d72 100644 Binary files a/tcpgecko.elf and b/tcpgecko.elf differ