mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Cut down unnecessary _XBOX ifdefs
This commit is contained in:
parent
e96c85b41c
commit
fc0ea0c63f
@ -1260,12 +1260,10 @@ static void frontend_xdk_exec(const char *path, bool should_load_game)
|
|||||||
#ifndef IS_SALAMANDER
|
#ifndef IS_SALAMANDER
|
||||||
bool original_verbose = verbosity_is_enabled();
|
bool original_verbose = verbosity_is_enabled();
|
||||||
#endif
|
#endif
|
||||||
#if defined(_XBOX)
|
|
||||||
#if defined(_XBOX1)
|
#if defined(_XBOX1)
|
||||||
LAUNCH_DATA ptr;
|
LAUNCH_DATA ptr;
|
||||||
#elif defined(_XBOX360)
|
#elif defined(_XBOX360)
|
||||||
char game_path[1024] = {0};
|
char game_path[1024] = {0};
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
(void)should_load_game;
|
(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))
|
if (!string_is_empty(path))
|
||||||
XLaunchNewImage(path, NULL);
|
XLaunchNewImage(path, NULL);
|
||||||
#else
|
#else
|
||||||
#ifdef _XBOX
|
|
||||||
#if defined(_XBOX1)
|
#if defined(_XBOX1)
|
||||||
memset(&ptr, 0, sizeof(ptr));
|
memset(&ptr, 0, sizeof(ptr));
|
||||||
|
|
||||||
@ -1293,7 +1290,6 @@ static void frontend_xdk_exec(const char *path, bool should_load_game)
|
|||||||
XLaunchNewImage(path, 0);
|
XLaunchNewImage(path, 0);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
#ifndef IS_SALAMANDER
|
#ifndef IS_SALAMANDER
|
||||||
if (original_verbose)
|
if (original_verbose)
|
||||||
verbosity_enable();
|
verbosity_enable();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user