fix di compile issue

This commit is contained in:
dborth 2008-08-23 03:20:54 +00:00
parent cce59fa2c7
commit 2970cddc44
4 changed files with 18 additions and 2 deletions

View File

@ -13,7 +13,11 @@
#include <string.h>
#ifdef WII_DVD
#ifdef __cplusplus
extern "C" {
#include <di/di.h>
}
#endif
#endif
#include "menudraw.h"

View File

@ -20,7 +20,11 @@
#include <sys/dir.h>
#ifdef WII_DVD
#ifdef __cplusplus
extern "C" {
#include <di/di.h>
}
#endif
#endif
#include "snes9x.h"

View File

@ -19,7 +19,11 @@
#include <wiiuse/wpad.h>
#ifdef WII_DVD
#ifdef __cplusplus
extern "C" {
#include <di/di.h>
}
#endif
#endif
#include "snes9x.h"
@ -327,7 +331,7 @@ void CheatMenu()
int offset = 0;
int redraw = 1;
int selectit = 0;
u32 p = 0;
u32 wp = 0;
u32 ph = 0;
@ -377,7 +381,7 @@ void CheatMenu()
gc_sx = PAD_SubStickX (0);
p = PAD_ButtonsDown (0);
ph = PAD_ButtonsHeld (0);
#ifdef HW_RVL
wm_ay = WPAD_StickY (0, 0);
wm_sx = WPAD_StickX (0, 1);

View File

@ -166,7 +166,11 @@
#include <fat.h>
#ifdef WII_DVD
#ifdef __cplusplus
extern "C" {
#include <di/di.h>
}
#endif
#endif
#include "snes9x.h"