(360) Buildfix

This commit is contained in:
twinaphex 2017-10-03 04:21:08 +02:00
parent 1f8adeaadc
commit cf9ab18cab
2 changed files with 7 additions and 0 deletions

View File

@ -68,8 +68,13 @@ bool d3d_texture_get_level_desc(LPDIRECT3DTEXTURE tex,
if (!tex)
return false;
#if defined(HAVE_D3D9) && !defined(__cplusplus)
#if defined(_XBOX)
IDirect3DTexture9_GetLevelDesc(tex, idx, (D3DSURFACE_DESC*)_ppsurface_level);
return true;
#else
if (SUCCEEDED(IDirect3DTexture9_GetLevelDesc(tex, idx, (D3DSURFACE_DESC*)_ppsurface_level)))
return true;
#endif
#elif defined(HAVE_D3D8) && !defined(__cplusplus)
if (SUCCEEDED(IDirect3DTexture8_GetLevelDesc(tex, idx, (D3DSURFACE_DESC*)_ppsurface_level)))
return true;

View File

@ -113,7 +113,9 @@ static bool xdk_input_set_rumble(void *data, unsigned port,
enum retro_rumble_effect effect, uint16_t strength)
{
#ifdef _XBOX360
#if 0
XINPUT_VIBRATION rumble_state;
#endif
#endif
xdk_input_t *xdk = (xdk_input_t*)data;
bool val = false;