mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-18 17:04:34 +00:00
(360) Buildfix
This commit is contained in:
parent
1f8adeaadc
commit
cf9ab18cab
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user