mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-18 08:52:41 +00:00
make xmb default on atv
This commit is contained in:
parent
9b6e97f967
commit
6df0249d3e
@ -358,6 +358,9 @@ const char *config_get_default_joypad(void)
|
||||
**/
|
||||
const char *config_get_default_menu(void)
|
||||
{
|
||||
if (!string_is_empty(g_defaults.settings.menu))
|
||||
return g_defaults.settings.menu;
|
||||
|
||||
switch (MENU_DEFAULT_DRIVER)
|
||||
{
|
||||
case MENU_RGUI:
|
||||
|
@ -67,6 +67,7 @@ struct defaults
|
||||
int out_latency;
|
||||
float video_refresh_rate;
|
||||
bool video_threaded_enable;
|
||||
char menu[PATH_MAX_LENGTH];
|
||||
} settings;
|
||||
|
||||
#ifndef IS_SALAMANDER
|
||||
|
@ -895,7 +895,10 @@ static bool device_is_game_console(const char *name)
|
||||
device_is_xperia_play(name) ||
|
||||
strstr(name, "GAMEMID_BT") ||
|
||||
strstr(name, "S7800") ||
|
||||
strstr(name, "SHIELD")
|
||||
strstr(name, "XD\n") ||
|
||||
strstr(name, "ARCHOS GAMEPAD") ||
|
||||
strstr(name, "SHIELD Android TV")
|
||||
strstr(name, "SHIELD\n") ||
|
||||
)
|
||||
return true;
|
||||
|
||||
@ -1952,13 +1955,16 @@ static void frontend_linux_get_env(int *argc,
|
||||
else if (strstr(device_model, "JSS15J"))
|
||||
g_defaults.settings.video_refresh_rate = 59.65;
|
||||
|
||||
#if 0
|
||||
|
||||
/* Explicitly disable input overlay by default
|
||||
* for gamepad-like/console devices. */
|
||||
|
||||
if (device_is_game_console(device_model))
|
||||
{
|
||||
g_defaults.settings.input_overlay_enable = false;
|
||||
#endif
|
||||
snprintf(g_defaults.settings.menu, sizeof(g_defaults.settings.menu), "xmb");
|
||||
}
|
||||
|
||||
#else
|
||||
char base_path[PATH_MAX];
|
||||
const char *xdg = getenv("XDG_CONFIG_HOME");
|
||||
|
Loading…
x
Reference in New Issue
Block a user