mirror of
https://github.com/retro100/dosbox-wii.git
synced 2025-01-12 10:19:11 +01:00
Small fixes for current devkitPro version.
This commit is contained in:
parent
c9fc90cc15
commit
328bcd9a6a
3
Makefile
3
Makefile
@ -37,7 +37,8 @@ LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map
|
||||
# any extra libraries we wish to link with
|
||||
#---------------------------------------------------------------------------------
|
||||
LIBS := -lSDL -lfat -lwiiuse -lbte -lasnd -logc -lwiikeyboard \
|
||||
-lpng -lvorbisidec -lfreetype -lz
|
||||
-lpng -lvorbisidec -lfreetype -lz \
|
||||
-lm -logg -lbz2 -laesnd
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# list of directories containing libraries, this must be the top level containing
|
||||
|
17
src/globals.cpp
Normal file
17
src/globals.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
/*
|
||||
Define DEFINE_GLOBALS if you have undefined reference errors
|
||||
for font_ttf_size, botton_over_pcm_size, etc.
|
||||
*/
|
||||
//#define DEFINE_GLOBALS
|
||||
|
||||
#ifdef DEFINE_GLOBALS
|
||||
|
||||
#include <gccore.h>
|
||||
|
||||
extern const u32 font_ttf_size = 29244;
|
||||
extern const u32 button_over_pcm_size = 2876;
|
||||
extern const u32 button_click_pcm_size = 7204;
|
||||
extern const u32 enter_ogg_size = 59779;
|
||||
extern const u32 exit_ogg_size = 51898;
|
||||
|
||||
#endif
|
@ -15,6 +15,7 @@
|
||||
#include <wiiuse/wpad.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/param.h>
|
||||
|
||||
#include "libwiigui/gui.h"
|
||||
#include "wiihardware.h"
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <errno.h>
|
||||
#include <libgen.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/param.h>
|
||||
#include "dos_inc.h"
|
||||
|
||||
static char tmp[MAXPATHLEN];
|
||||
|
@ -149,7 +149,7 @@ static void * PressKeys (void *arg)
|
||||
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)
|
||||
{
|
||||
u32 level;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user