From 7a481236bf2799634c9efe685aa9a87cef49e0e0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 3 Jan 2018 14:37:35 +0100 Subject: [PATCH] (Xbox OG) Some more buildfixes --- gfx/drivers/d3d.c | 2 ++ pkg/msvc/RetroArch-Xbox1/RetroArch-Xbox1.vcproj | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/gfx/drivers/d3d.c b/gfx/drivers/d3d.c index 82dd339fec..91b9e899a3 100644 --- a/gfx/drivers/d3d.c +++ b/gfx/drivers/d3d.c @@ -579,6 +579,7 @@ void d3d_make_d3dpp(void *data, d3dpp->MultiSampleType = D3DMULTISAMPLE_NONE; d3dpp->EnableAutoDepthStencil = FALSE; #if defined(_XBOX1) + { /* Get the "video mode" */ DWORD video_mode = XGetVideoFlags(); @@ -609,6 +610,7 @@ void d3d_make_d3dpp(void *data, if (widescreen_mode) d3dpp->Flags |= D3DPRESENTFLAG_WIDESCREEN; + } #elif defined(_XBOX360) #if 0 if (!widescreen_mode) diff --git a/pkg/msvc/RetroArch-Xbox1/RetroArch-Xbox1.vcproj b/pkg/msvc/RetroArch-Xbox1/RetroArch-Xbox1.vcproj index f09ce3620b..f2eea678d1 100644 --- a/pkg/msvc/RetroArch-Xbox1/RetroArch-Xbox1.vcproj +++ b/pkg/msvc/RetroArch-Xbox1/RetroArch-Xbox1.vcproj @@ -408,43 +408,43 @@ Name="Debug|Xbox"> + CompileAs="1"/> + CompileAs="1"/> + CompileAs="1"/> + CompileAs="1"/> + CompileAs="1"/> + CompileAs="1"/> + CompileAs="1"/>