Fix scons build.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5789 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2010-06-26 03:02:57 +00:00
parent f6d844dac1
commit ebb49c28f7
2 changed files with 1 additions and 3 deletions

View File

@ -688,6 +688,7 @@ WIIUSE_EXPORT extern void wiiuse_disconnected(struct wiimote_t* wm);
WIIUSE_EXPORT extern void wiiuse_cleanup(struct wiimote_t** wm, int wiimotes); WIIUSE_EXPORT extern void wiiuse_cleanup(struct wiimote_t** wm, int wiimotes);
WIIUSE_EXPORT extern void wiiuse_rumble(struct wiimote_t* wm, int status); WIIUSE_EXPORT extern void wiiuse_rumble(struct wiimote_t* wm, int status);
WIIUSE_EXPORT extern void wiiuse_set_leds(struct wiimote_t* wm, int leds); WIIUSE_EXPORT extern void wiiuse_set_leds(struct wiimote_t* wm, int leds);
WIIUSE_EXPORT extern int wiiuse_write_data(struct wiimote_t* wm, unsigned int addr, byte* data, byte len);
/* connect.c / io_win.c */ /* connect.c / io_win.c */
WIIUSE_EXPORT extern int wiiuse_find(struct wiimote_t** wm, int max_wiimotes, int timeout); WIIUSE_EXPORT extern int wiiuse_find(struct wiimote_t** wm, int max_wiimotes, int timeout);

View File

@ -24,9 +24,7 @@ if wmenv['HAVE_WX']:
files += [ files += [
"ConfigBasicDlg.cpp", "ConfigBasicDlg.cpp",
"ConfigPadDlg.cpp", "ConfigPadDlg.cpp",
"ConfigRecordingDlg.cpp",
"ConfigGamepad.cpp", "ConfigGamepad.cpp",
"ConfigRecording.cpp",
"FillReport.cpp", "FillReport.cpp",
] ]
@ -37,7 +35,6 @@ cxxflags = [ ]
if wmenv['HAVE_WIIUSE']: if wmenv['HAVE_WIIUSE']:
libs += [ 'wiiuse' ] libs += [ 'wiiuse' ]
files += [ "wiimote_real.cpp" ] files += [ "wiimote_real.cpp" ]
files += [ "ReadWiimote.cpp" ]
cxxflags += ['-DHAVE_WIIUSE'] cxxflags += ['-DHAVE_WIIUSE']
wmenv.Append( wmenv.Append(