From 030012f66429eaaf0cc33b49a574c5fd730d8c1b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 29 Dec 2013 04:08:42 +0100 Subject: [PATCH] (360) Some build fixes --- frontend/menu/menu_common.c | 2 ++ miscellaneous.h | 2 ++ xdk/xdk_d3d.cpp | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/menu/menu_common.c b/frontend/menu/menu_common.c index de3e5254cd..ba53a85970 100644 --- a/frontend/menu/menu_common.c +++ b/frontend/menu/menu_common.c @@ -2120,6 +2120,8 @@ void menu_parse_and_resolve(void *data, unsigned menu_type) file_list_push(rgui->selection_buf, "E:", menu_type, 0); file_list_push(rgui->selection_buf, "F:", menu_type, 0); file_list_push(rgui->selection_buf, "G:", menu_type, 0); +#elif defined(_XBOX360) + file_list_push(rgui->selection_buf, "game:", menu_type, 0); #elif defined(_WIN32) unsigned drives = GetLogicalDrives(); char drive[] = " :\\"; diff --git a/miscellaneous.h b/miscellaneous.h index dbbdb79b16..52af581b1c 100644 --- a/miscellaneous.h +++ b/miscellaneous.h @@ -30,6 +30,8 @@ #if defined(_WIN32) && !defined(_XBOX) #define WIN32_LEAN_AND_MEAN #include +#elif defined(_WIN32) && defined(_XBOX) +#include #endif #include "retroarch_logger.h" diff --git a/xdk/xdk_d3d.cpp b/xdk/xdk_d3d.cpp index 282b378be8..d82a1b7f45 100644 --- a/xdk/xdk_d3d.cpp +++ b/xdk/xdk_d3d.cpp @@ -39,7 +39,7 @@ #if defined(_XBOX1) unsigned font_x, font_y; #elif defined(_XBOX360) -#include "../frontend/menu/rmenu_xui.h" + const DWORD g_MapLinearToSrgbGpuFormat[] = { GPUTEXTUREFORMAT_1_REVERSE,