diff --git a/Makefile.wii b/Makefile.wii index d116337..c1b8963 100644 --- a/Makefile.wii +++ b/Makefile.wii @@ -46,7 +46,7 @@ LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map # any extra libraries we wish to link with #--------------------------------------------------------------------------------- LIBS := -ldi -liso9660 -lpng -lmxml -lfat -lwiiuse -lz -lbte -lasnd -logc \ - -lvorbisidec -lfreetype -ltinysmb + -lvorbisidec -logg -lfreetype -ltinysmb #--------------------------------------------------------------------------------- # list of directories containing libraries, this must be the top level containing diff --git a/source/networkop.cpp b/source/networkop.cpp index 4e4f95e..f2f2cfd 100644 --- a/source/networkop.cpp +++ b/source/networkop.cpp @@ -172,7 +172,7 @@ bool InitializeNetwork(bool silent) break; } #else - networkInit = !(if_config(wiiIP, NULL, NULL, true) < 0); + networkInit = !(if_config(wiiIP, NULL, NULL, true, 10) < 0); #endif CancelAction(); diff --git a/source/vbagx.cpp b/source/vbagx.cpp index 66727b6..5e948fc 100644 --- a/source/vbagx.cpp +++ b/source/vbagx.cpp @@ -272,7 +272,7 @@ bool SaneIOS(u32 ios) static bool gecko = false; static mutex_t gecko_mutex = 0; -static ssize_t __out_write(struct _reent *r, int fd, const char *ptr, size_t len) +static ssize_t __out_write(struct _reent *r, void* fd, const char *ptr, size_t len) { if (!gecko || len == 0) return len;