Cut down unnecessary _XBOX ifdefs

This commit is contained in:
twinaphex 2018-01-26 15:15:03 +01:00
parent e96c85b41c
commit fc0ea0c63f

View File

@ -1260,12 +1260,10 @@ static void frontend_xdk_exec(const char *path, bool should_load_game)
#ifndef IS_SALAMANDER
bool original_verbose = verbosity_is_enabled();
#endif
#if defined(_XBOX)
#if defined(_XBOX1)
LAUNCH_DATA ptr;
#elif defined(_XBOX360)
char game_path[1024] = {0};
#endif
#endif
(void)should_load_game;
@ -1273,7 +1271,6 @@ static void frontend_xdk_exec(const char *path, bool should_load_game)
if (!string_is_empty(path))
XLaunchNewImage(path, NULL);
#else
#ifdef _XBOX
#if defined(_XBOX1)
memset(&ptr, 0, sizeof(ptr));
@ -1293,7 +1290,6 @@ static void frontend_xdk_exec(const char *path, bool should_load_game)
XLaunchNewImage(path, 0);
#endif
#endif
#endif
#ifndef IS_SALAMANDER
if (original_verbose)
verbosity_enable();