fix slow motion

This commit is contained in:
radius 2017-12-02 21:29:13 -05:00
parent b1911495ad
commit 69c2040e55

View File

@ -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) */
@ -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);