mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +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
|
||||
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user