diff --git a/frontend/menu/disp/rmenu_xui.cpp b/frontend/menu/disp/rmenu_xui.cpp index 07a2ca4d93..e612f621e1 100644 --- a/frontend/menu/disp/rmenu_xui.cpp +++ b/frontend/menu/disp/rmenu_xui.cpp @@ -533,7 +533,7 @@ static void rmenu_xui_navigation_alphabet(void *data, size_t *ptr_out) } static void rmenu_xui_list_insert(void *data, - const char *path, size_t list_size) + const char *path, const char *, size_t list_size) { (void)data; wchar_t buf[PATH_MAX]; diff --git a/frontend/platform/platform_xdk.c b/frontend/platform/platform_xdk.c index 9581d42362..a918425a6b 100644 --- a/frontend/platform/platform_xdk.c +++ b/frontend/platform/platform_xdk.c @@ -235,7 +235,6 @@ static void frontend_xdk_get_environment_settings(int *argc, char *argv[], #endif #ifndef IS_SALAMANDER -exit: g_extern.verbosity = original_verbose; #endif } diff --git a/gfx/d3d9/render_chain_xdk.h b/gfx/d3d9/render_chain_xdk.h index bcc53f28f4..4f598fcf27 100644 --- a/gfx/d3d9/render_chain_xdk.h +++ b/gfx/d3d9/render_chain_xdk.h @@ -131,9 +131,12 @@ static void renderchain_render_pass(void *data, const void *frame, unsigned widt d3d_video_t *d3d = (d3d_video_t*)data; LPDIRECT3DDEVICE d3dr = (LPDIRECT3DDEVICE)d3d->dev; -#ifdef _XBOX1 +#if defined(_XBOX1) d3dr->SetFlickerFilter(g_extern.console.screen.flicker_filter_index); d3dr->SetSoftDisplayFilter(g_extern.console.softfilter_enable); +#elif defined(_XBOX360) + DWORD fetchConstant; + UINT64 pendingMask3; #endif renderchain_blit_to_texture(d3d, frame, width, height, pitch); diff --git a/gfx/d3d9/xdk_defines.h b/gfx/d3d9/xdk_defines.h index ccc9f8181f..3fccd378ee 100644 --- a/gfx/d3d9/xdk_defines.h +++ b/gfx/d3d9/xdk_defines.h @@ -109,4 +109,8 @@ #define D3DDevice_DrawPrimitive(dev, type, start, count) dev->DrawPrimitive(type, start, count) +#ifndef D3DCREATE_SOFTWARE_VERTEXPROCESSING +#define D3DCREATE_SOFTWARE_VERTEXPROCESSING 0 +#endif + #endif