Skip to content

Commit

Permalink
compiles on latest devkitPPC/libogc. Note: crashes as soon as wiimote is
Browse files Browse the repository at this point in the history
connected with the freetype portlib supplied by devkitPPC. using an
older freetype works.
  • Loading branch information
dborth committed Aug 2, 2018
1 parent e528299 commit f4d6743
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile.wii
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion source/networkop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion source/vbagx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f4d6743

Please sign in to comment.