From d0c4de9635839b8ac63cb1111cc6026c7a4275ea Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 2 Jan 2013 17:23:31 +0100 Subject: [PATCH] (XDK) Build fixes --- general.h | 2 +- xdk/xdk_d3d.cpp | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/general.h b/general.h index c791dce9ac..279e47308b 100644 --- a/general.h +++ b/general.h @@ -181,7 +181,7 @@ struct settings struct retro_keybind binds[MAX_PLAYERS][RARCH_BIND_LIST_END]; float axis_threshold; int joypad_map[MAX_PLAYERS]; - enum dpad_emu_enums dpad_emulation[MAX_PLAYERS]; + unsigned dpad_emulation[MAX_PLAYERS]; #ifdef RARCH_CONSOLE unsigned currently_selected_controller_no; unsigned map_dpad_to_stick; diff --git a/xdk/xdk_d3d.cpp b/xdk/xdk_d3d.cpp index 9dd0e1f7ad..3f3b758e2c 100644 --- a/xdk/xdk_d3d.cpp +++ b/xdk/xdk_d3d.cpp @@ -321,6 +321,15 @@ void xdk_d3d_init_fbo(xdk_d3d_video_t *d3d) } #endif +static bool xdk_d3d_set_shader(void *data, enum rarch_shader_type type, const char *path) +{ + (void)data; + (void)type; + (void)path; + + return false; +} + void xdk_d3d_generate_pp(D3DPRESENT_PARAMETERS *d3dpp, const video_info_t *video) { xdk_d3d_video_t *d3d = (xdk_d3d_video_t*)driver.video_data;