Skip to content

Commit

Permalink
Merge pull request libretro#5850 from fr500/master
Browse files Browse the repository at this point in the history
reenable network gamepad and fix slow motion
  • Loading branch information
inactive123 authored Dec 3, 2017
2 parents 8082dfe + 69c2040 commit 7e4cf9b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion configuration.c
Original file line number Diff line number Diff line change
Expand Up @@ -2718,7 +2718,9 @@ static bool config_load_file(const char *path, bool set_defaults,
*settings->paths.directory_system = '\0';

if (settings->floats.slowmotion_ratio < 1.0f)
configuration_set_float(settings, settings->floats.slowmotion_ratio, 1.0f);
{
configuration_set_float(settings, settings->floats.slowmotion_ratio, 15.0f);
}

/* Sanitize fastforward_ratio value - previously range was -1
* and up (with 0 being skipped) */
Expand All @@ -2727,6 +2729,7 @@ static bool config_load_file(const char *path, bool set_defaults,
configuration_set_float(settings, settings->floats.fastforward_ratio, 0.0f);
}


#ifdef HAVE_LAKKA
settings->bools.ssh_enable = path_file_exists(LAKKA_SSH_PATH);
settings->bools.samba_enable = path_file_exists(LAKKA_SAMBA_PATH);
Expand Down
2 changes: 1 addition & 1 deletion menu/menu_displaylist.c
Original file line number Diff line number Diff line change
Expand Up @@ -4273,7 +4273,7 @@ bool menu_displaylist_process(menu_displaylist_info_t *info)
MENU_SETTING_ACTION, 0, 0);
#endif

#if defined(HAVE_NETWORKING) && defined(HAVE_NETWORKGAMEPAD) && defined(HAVE_NETWORKGAMEPAD_CORE)
#if defined(HAVE_NETWORKING) && defined(HAVE_NETWORKGAMEPAD)
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_START_NET_RETROPAD),
msg_hash_to_str(MENU_ENUM_LABEL_START_NET_RETROPAD),
Expand Down
2 changes: 1 addition & 1 deletion menu/menu_setting.c
Original file line number Diff line number Diff line change
Expand Up @@ -2263,7 +2263,7 @@ static bool setting_append_list(
parent_group);
#endif

#if defined(HAVE_NETWORKING) && defined(HAVE_NETWORKGAMEPAD) && defined(HAVE_NETWORKGAMEPAD_CORE)
#if defined(HAVE_NETWORKING) && defined(HAVE_NETWORKGAMEPAD)
CONFIG_ACTION(
list, list_info,
MENU_ENUM_LABEL_START_NET_RETROPAD,
Expand Down

0 comments on commit 7e4cf9b

Please sign in to comment.