From 3f8ea809de6ac176c1d55cdfc5e44c8bab66f8a5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 17 Apr 2018 03:14:20 +0200 Subject: [PATCH] (360) Buildfix --- gfx/video_crt_switch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/video_crt_switch.c b/gfx/video_crt_switch.c index 3b906fcdf3..618ee7ecd7 100644 --- a/gfx/video_crt_switch.c +++ b/gfx/video_crt_switch.c @@ -20,7 +20,7 @@ #include #include -#if defined(_WIN32) +#if defined(_WIN32) && !defined(_XBOX) #include #endif @@ -51,7 +51,7 @@ static void crt_check_first_run(void) * at some point in time or should it stay like this? */ /* Run of first boot to get current display resolution */ -#if defined(_WIN32) +#if defined(_WIN32) && !defined(_XBOX) orig_height = GetSystemMetrics(SM_CYSCREEN); orig_width = GetSystemMetrics(SM_CXSCREEN); #endif