Buildfixes

This commit is contained in:
twinaphex 2020-06-13 08:37:26 +02:00
parent b74b8b6a6c
commit 01bd76405f
3 changed files with 3 additions and 2 deletions

View File

@ -201,7 +201,9 @@ static bool d3d9_init_chain(d3d9_video_t *d3d,
{
unsigned i = 0;
struct LinkInfo link_info;
#ifndef _XBOX
unsigned current_width, current_height, out_width, out_height;
#endif
/* Setup information for first pass. */
link_info.pass = NULL;

View File

@ -212,7 +212,6 @@ static int16_t winraw_lightgun_aiming_state(winraw_input_t *wr,
winraw_mouse_t *mouse,
unsigned port, unsigned id)
{
unsigned i;
struct video_viewport vp;
const int edge_detect = 32700;
bool inside = false;

View File

@ -81,7 +81,7 @@ static INLINE uint64_t SWAP64(uint64_t val)
# undef MSB_FIRST
#endif
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(_XBOX)
#include <winsock2.h>
#endif